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.