OdsPageBackground

OdsPageBackground class

Represents the page background of ods.

class OdsPageBackground;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
getType()Gets and sets the page background type.
setType(OdsPageBackgroundType)Gets and sets the page background type.
getColor()Gets and sets the color of background.
setColor(Color)Gets and sets the color of background.
getGraphicType()Gets and sets the page background graphic type.
setGraphicType(OdsPageBackgroundGraphicType)Gets and sets the page background graphic type.
getGraphicPositionType()Gets and set the background graphic position.
setGraphicPositionType(OdsPageBackgroundGraphicPositionType)Gets and set the background graphic position.
isLink()Indicates whether it’s a linked graphic.
getLinkedGraphic()Gets and sets the linked graphic path.
setLinkedGraphic(string)Gets and sets the linked graphic path.
getGraphicData()Gets and sets the graphic data.
setGraphicData(number[])Gets and sets the graphic data.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

getType()

Gets and sets the page background type.

getType() : OdsPageBackgroundType;

Returns

OdsPageBackgroundType

setType(OdsPageBackgroundType)

Gets and sets the page background type.

setType(value: OdsPageBackgroundType) : void;

Parameters:

ParameterTypeDescription
valueOdsPageBackgroundTypeThe value to set.

getColor()

Gets and sets the color of background.

getColor() : Color;

Returns

Color

setColor(Color)

Gets and sets the color of background.

setColor(value: Color) : void;

Parameters:

ParameterTypeDescription
valueColorThe value to set.

getGraphicType()

Gets and sets the page background graphic type.

getGraphicType() : OdsPageBackgroundGraphicType;

Returns

OdsPageBackgroundGraphicType

setGraphicType(OdsPageBackgroundGraphicType)

Gets and sets the page background graphic type.

setGraphicType(value: OdsPageBackgroundGraphicType) : void;

Parameters:

ParameterTypeDescription
valueOdsPageBackgroundGraphicTypeThe value to set.

getGraphicPositionType()

Gets and set the background graphic position.

getGraphicPositionType() : OdsPageBackgroundGraphicPositionType;

Returns

OdsPageBackgroundGraphicPositionType

setGraphicPositionType(OdsPageBackgroundGraphicPositionType)

Gets and set the background graphic position.

setGraphicPositionType(value: OdsPageBackgroundGraphicPositionType) : void;

Parameters:

ParameterTypeDescription
valueOdsPageBackgroundGraphicPositionTypeThe value to set.

Indicates whether it’s a linked graphic.

isLink() : boolean;

getLinkedGraphic()

Gets and sets the linked graphic path.

getLinkedGraphic() : string;

setLinkedGraphic(string)

Gets and sets the linked graphic path.

setLinkedGraphic(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getGraphicData()

Gets and sets the graphic data.

getGraphicData() : number[];

Returns

number[]

setGraphicData(number[])

Gets and sets the graphic data.

setGraphicData(value: number[]) : void;

Parameters:

ParameterTypeDescription
valuenumber[]The value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;