Interface IAnchoredItem

AnchoredItem belong to a sheet and is anchored to a range of cells.

interface IAnchoredItem {
    isAnchoredItem: true;
    addListener(listener): RemoveListener;
    close(): void;
    copyTo?(sheet, destination, options?): void;
    delete(): void;
    getAnchor(): CellRangeCoords;
    getAnchorType?(): AnchorType;
    isClosed(): boolean;
    isProtected(): boolean;
    setAnchorType?(anchorType): void;
}

Hierarchy (view full)

Properties

isAnchoredItem: true

For runtime type checking

Methods

  • Similar to delete but cleans resources and can't be undone..

    Returns void

  • Deletes the anchored item.

    Returns void

  • Returns how the anchorBounds adjust when inserting/removing rows/columns.

    Returns AnchorType

    Default Value

    AnchorType.TwoCell
    
  • Returns if the model has been closed

    Returns boolean

  • If the drawing is unable to be modified.

    Returns boolean

  • Ses the anchorBounds.

    Parameters

    Returns void

    Default Value

    AnchorType.TwoCell