SheetXL - v0.3.20
    Preparing search index...

    Interface INamed

    Represents a named cell style that can be selected and applied across multiple cells. Named styles provide a convenient way to apply predefined or custom styling options available within the application's UI. Commonly used for both built-in and user-defined styles in spreadsheet applications.

    interface INamed {
        isINamed: true;
        delete(): void;
        getBuiltInID(): number;
        getILevel(): number;
        getName(): string;
        getRanged(): ICellRanged<IStyle.Properties<Serializable>>;
        isHidden(): boolean;
        toJSON(): NamedJSON;
    }
    Index

    Properties

    isINamed: true

    For runtime type checking.

    Methods

    • Deletes the style.

      Returns void

      For built-in styles, this method will hide.

    • Identifies the built-in ID for predefined styles, if applicable.

      Returns number

      The built-in ID number if the style is a predefined one, or null if the style is custom.

    • Specifies if this style is applied to outline levels in the application.

      Returns number

      The outline level if this style applies to outlines, or null if it is not associated with any outline levels.

      • Outline styles allow automatic application of the style to cells at a specific outline level.
      • Returns null if outline does not affect styles.
    • Returns the name for the style.

      Returns string

    • If 'true' do not show this style in the application UI.

      Returns boolean