asposecells.api

Class TickLabels

Represents the tick-mark labels associated with tick marks on a chart axis.

Property Getters/Setters Summary
methodgetAutoScaleFont()
method
           True if the text in the object changes font size when the object size changes. The default value is True.
methodgetBackground()
method
           Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
methodgetBackgroundMode()
method
           Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
methodgetFont()
Returns a Font object that represents the font of the specified TickLabels object.
methodisAutomaticRotation()
method
           Indicates whether the rotation angle is automatic
methodgetNumber()
method
setNumber(value)
           Represents the format number for the TickLabels object.
methodgetNumberFormat()
method
           Represents the format string for the TickLabels object.
methodgetNumberFormatLinked()
method
           True if the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells).
methodgetOffset()
method
setOffset(value)
           Represents the distance between the levels of labels, and the distance between the first level and the axis line.
methodgetRotationAngle()
method
           Represents text rotation angle in clockwise.
methodgetTextDirection()
method
           Represents text reading order. The value of the property is TextDirectionType integer constant.
 

    • Property Getters/Setters Detail

      • getFont : Font 

        Font getFont()
        
        Returns a Font object that represents the font of the specified TickLabels object.
      • getAutoScaleFont/setAutoScaleFont : boolean 

        boolean getAutoScaleFont() / setAutoScaleFont(value)
        
        True if the text in the object changes font size when the object size changes. The default value is True.
      • getBackgroundMode/setBackgroundMode : int 

        int getBackgroundMode() / setBackgroundMode(value)
        
        Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
      • getBackground/setBackground : int 

        int getBackground() / setBackground(value)
        
        Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.NOTE: This member is now obsolete. Instead, please use TickLabels.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.
      • getRotationAngle/setRotationAngle : int 

        int getRotationAngle() / setRotationAngle(value)
        
        Represents text rotation angle in clockwise.
        0: Not rotated.

        255: Top to Bottom.

        -90: Downward.

        90: Upward.
      • isAutomaticRotation/setAutomaticRotation : boolean 

        boolean isAutomaticRotation() / setAutomaticRotation(value)
        
        Indicates whether the rotation angle is automatic
      • getNumberFormat/setNumberFormat : String 

        String getNumberFormat() / setNumberFormat(value)
        
        Represents the format string for the TickLabels object. The formating string is same as a custom format string setting to a cell. For example, "$0".
      • getNumber/setNumber : int 

        int getNumber() / setNumber(value)
        
        Represents the format number for the TickLabels object.
      • getNumberFormatLinked/setNumberFormatLinked : boolean 

        boolean getNumberFormatLinked() / setNumberFormatLinked(value)
        
        True if the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells).
      • getOffset/setOffset : int 

        int getOffset() / setOffset(value)
        
        Represents the distance between the levels of labels, and the distance between the first level and the axis line. The default distance is 100 percent, which represents the default spacing between the axis labels and the axis line. The value can be an integer percentage from 0 through 1000, relative to the axis label¡¯s font size.
      • getTextDirection/setTextDirection : int 

        int getTextDirection() / setTextDirection(value)
        
        Represents text reading order. The value of the property is TextDirectionType integer constant.