ApiName

class ApiName

Description

Class representing a name.

Instance Methods

GetName(): string

Returns a type of the ApiName class.

SetName(sName): boolean

Sets a string value representing the object name.

Delete()

Deletes the DefName object.

SetRefersTo(sRef)

Sets a formula that the name is defined to refer to.

GetRefersTo(): string

Returns a formula that the name is defined to refer to.

GetRefersToRange(): ApiRange

Returns the ApiRange object by its name.

Instance Properties

Namestring

Sets a name to the active sheet.

RefersTostring

Returns or sets a formula that the name is defined to refer to.

RefersToRangeApiRange

Returns the ApiRange object by reference.

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).