Aspose::Pdf::Annotations::Measure::NumberFormat class

NumberFormat class

Number format for measure.

class NumberFormat : public System::Object

Enums

EnumDescription
FractionStyleValue which indicates in which manner fraction values are displayed.

Methods

MethodDescription
get_AfterText()Text that shall be concatenated after the label.
get_BeforeText()Text that shall be concatenated to the left of the label.
get_ConvresionFactor()The conversion factor used to multiply a value in partial units of the previous number format array element to obtain a value in the units of this number format.
get_Denominator()If FractionDisplayment is ShowAsFraction, this value is denominator of the fraction. Default value is 16.
get_ForceDenominator()If FractionDisplayment is ShowAsFraction, this value determines meay or not the fraction be reduced. If value is true fraction may not be reduced.
get_FractionDisplayment()In what manner fractional values are displayed.
get_FractionSeparator()Text that shall be used as the decimal position in displaying numerical values. An empty string indicates that the default shall be used. Default is period character.
get_Precision()If FractionDisplayment is ShowAsDecimal, this value is precision of fractional value; It shall me multiple of 10. Default is 100.
get_ThousandsSeparator()Text that shall be used between orders of thousands in display of numerical values. An empty string indicates that no text shall be added. Default is comma.
get_UnitLabel()A text string specifying a label for displaying the units.
NumberFormat(System::SharedPtr<Measure>)Constructor for NumberFormat class.
set_AfterText(System::String)Text that shall be concatenated after the label.
set_BeforeText(System::String)Text that shall be concatenated to the left of the label.
set_ConvresionFactor(double)The conversion factor used to multiply a value in partial units of the previous number format array element to obtain a value in the units of this number format.
set_Denominator(int32_t)If FractionDisplayment is ShowAsFraction, this value is denominator of the fraction. Default value is 16.
set_ForceDenominator(bool)If FractionDisplayment is ShowAsFraction, this value determines meay or not the fraction be reduced. If value is true fraction may not be reduced.
set_FractionDisplayment(Measure::NumberFormat::FractionStyle)In what manner fractional values are displayed.
set_FractionSeparator(System::String)Text that shall be used as the decimal position in displaying numerical values. An empty string indicates that the default shall be used. Default is period character.
set_Precision(int32_t)If FractionDisplayment is ShowAsDecimal, this value is precision of fractional value; It shall me multiple of 10. Default is 100.
set_ThousandsSeparator(System::String)Text that shall be used between orders of thousands in display of numerical values. An empty string indicates that no text shall be added. Default is comma.
set_UnitLabel(System::String)A text string specifying a label for displaying the units.

See Also