Aspose::Cells::Charts::TickLabels class

TickLabels class

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

class TickLabels

Methods

MethodDescription
Get_NumberFormat()Represents the format string for the TickLabels object.
GetAlignmentType()Gets and sets the text alignment for the tick labels on the axis.
GetAutoScaleFont()True if the text in the object changes font size when the object size changes. The default value is True.
GetBackgroundMode()Gets and sets the display mode of the background.
GetDirectionType()Gets and sets the direction of text.
GetDisplayNumberFormat()Gets and sets the display number format of tick labels.
GetFont()Returns a Font object that represents the font of the specified TickLabels object.
GetNumber()Represents the format number for the TickLabels object.
GetNumberFormatLinked()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()Gets and sets the distance between the axis labels and the axis line.
GetReadingOrder()Represents text reading order.
GetRotationAngle()Represents text rotation angle in clockwise.
GetTickLabelItems()Gets the display tick labels of the axis.
IsAutomaticRotation()Indicates whether the rotation angle is automatic.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const TickLabels& src)operator=
SetAlignmentType(TickLabelAlignmentType value)Gets and sets the text alignment for the tick labels on the axis.
SetAutoScaleFont(bool value)True if the text in the object changes font size when the object size changes. The default value is True.
SetBackgroundMode(BackgroundMode value)Gets and sets the display mode of the background.
SetDirectionType(ChartTextDirectionType value)Gets and sets the direction of text.
SetIsAutomaticRotation(bool value)Indicates whether the rotation angle is automatic.
SetNumber(int32_t value)Represents the format number for the TickLabels object.
SetNumberFormat(const U16String& value)Represents the format string for the TickLabels object.
SetNumberFormat(const char16_t* value)Represents the format string for the TickLabels object.
SetNumberFormatLinked(bool 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).
SetOffset(int32_t value)Gets and sets the distance between the axis labels and the axis line.
SetReadingOrder(TextDirectionType value)Represents text reading order.
SetRotationAngle(int32_t value)Represents text rotation angle in clockwise.
TickLabels(TickLabels_Impl* impl)Constructs from an implementation object.
TickLabels(const TickLabels& src)Copy constructor.
~TickLabels()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also