OdsPageBackground

OdsPageBackground class

Represents the page background of ods.

class OdsPageBackground;

Constructors

NameDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
typeOdsPageBackgroundTypeGets and sets the page background type.
colorColorGets and sets the color of background.
graphicTypeOdsPageBackgroundGraphicTypeGets and sets the page background graphic type.
graphicPositionTypeOdsPageBackgroundGraphicPositionTypeGets and set the background graphic position.
isLinkbooleanReadonly. Indicates whether it’s a linked graphic.
linkedGraphicstringGets and sets the linked graphic path.
graphicDataUint8ArrayGets and sets the graphic data.

constructor()

Default Constructor.

constructor();

type

Gets and sets the page background type.

type : OdsPageBackgroundType;

color

Gets and sets the color of background.

color : Color;

graphicType

Gets and sets the page background graphic type.

graphicType : OdsPageBackgroundGraphicType;

graphicPositionType

Gets and set the background graphic position.

graphicPositionType : OdsPageBackgroundGraphicPositionType;

Readonly. Indicates whether it’s a linked graphic.

isLink : boolean;

linkedGraphic

Gets and sets the linked graphic path.

linkedGraphic : string;

graphicData

Gets and sets the graphic data.

graphicData : Uint8Array;