com.aspose.cells

Class OdsPageBackground

  • java.lang.Object
    • com.aspose.cells.OdsPageBackground
public class OdsPageBackground 
extends java.lang.Object

Represents the page background of ods.

Constructor Summary
 
Property Getters/Setters Summary
com.aspose.cells.ColorgetColor()
void
setColor(com.aspose.cells.Colorvalue)
           Gets and sets the color of background.
byte[]getGraphicData()
void
setGraphicData(byte[]value)
           Gets and sets the graphic data.
intgetGraphicPositionType()
void
           Gets and set the background graphic position. The value of the property is OdsPageBackgroundGraphicPositionType integer constant.
intgetGraphicType()
void
setGraphicType(intvalue)
           Gets and sets the page background graphic type. The value of the property is OdsPageBackgroundGraphicType integer constant.
booleanisLink()
Indicates whether it's a linked graphic.
java.lang.StringgetLinkedGraphic()
void
setLinkedGraphic(java.lang.Stringvalue)
           Gets and sets the linked graphic path.
intgetType()
void
setType(intvalue)
           Gets and sets the page background type. The value of the property is OdsPageBackgroundType integer constant.
 

    • Constructor Detail

      • OdsPageBackground

        public OdsPageBackground()
    • Property Getters/Setters Detail

      • getType/setType

        public int getType() / public void setType(int value)
        
        Gets and sets the page background type. The value of the property is OdsPageBackgroundType integer constant.
      • getColor/setColor

        public com.aspose.cells.Color getColor() / public void setColor(com.aspose.cells.Color value)
        
        Gets and sets the color of background.
      • getGraphicType/setGraphicType

        public int getGraphicType() / public void setGraphicType(int value)
        
        Gets and sets the page background graphic type. The value of the property is OdsPageBackgroundGraphicType integer constant.
      • getGraphicPositionType/setGraphicPositionType

        public int getGraphicPositionType() / public void setGraphicPositionType(int value)
        
        Gets and set the background graphic position. The value of the property is OdsPageBackgroundGraphicPositionType integer constant.
      • isLink

        public boolean isLink()
        
        Indicates whether it's a linked graphic.
      • getLinkedGraphic/setLinkedGraphic

        public java.lang.String getLinkedGraphic() / public void setLinkedGraphic(java.lang.String value)
        
        Gets and sets the linked graphic path.
      • getGraphicData/setGraphicData

        public byte[] getGraphicData() / public void setGraphicData(byte[] value)
        
        Gets and sets the graphic data.

    setType

    public voidsetType(intvalue)
    
    Gets and sets the page background type. The value of the property is OdsPageBackgroundType integer constant.

    setColor

    public voidsetColor(com.aspose.cells.Colorvalue)
    
    Gets and sets the color of background.

    setGraphicType

    public voidsetGraphicType(intvalue)
    
    Gets and sets the page background graphic type. The value of the property is OdsPageBackgroundGraphicType integer constant.

    setGraphicPositionType

    public voidsetGraphicPositionType(intvalue)
    
    Gets and set the background graphic position. The value of the property is OdsPageBackgroundGraphicPositionType integer constant.

    setLinkedGraphic

    public voidsetLinkedGraphic(java.lang.Stringvalue)
    
    Gets and sets the linked graphic path.

    setGraphicData

    public voidsetGraphicData(byte[]value)
    
    Gets and sets the graphic data.