Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.AcroForms Namespace / TextField Class / SetNumberValue Method
The value to assign.
The number of digits that appear to the right of the decimal point. Valid values are from 0 to 10, inclusive.
The placement of commas and periods, see Field.NumberSeparatorStyle.
How negative numbers are displayed.
The currency symbol, or a null reference (Nothing in Visual Basic) or empty string.
The location of the currency symbol in relation to the number. This parameter is meaningful only if currencySymbol is not a null reference (Nothing in Visual Basic) or empty.

In This Topic
    SetNumberValue Method (TextField)
    In This Topic
    Imposes the specified numeric formatting options on the current TextField, and assigns to it the specified value as a number.
    Syntax
    'Declaration
     
    Public Sub SetNumberValue( _
       ByVal value As System.Double, _
       ByVal decimalPlaces As System.Integer, _
       ByVal separatorStyle As Field.NumberSeparatorStyle, _
       ByVal negativeStyle As Field.NumberNegativeStyle, _
       ByVal currencySymbol As System.String, _
       ByVal currencySymbolStyle As Field.CurrencySymbolStyle _
    ) 
    public void SetNumberValue( 
       System.double value,
       System.int decimalPlaces,
       Field.NumberSeparatorStyle separatorStyle,
       Field.NumberNegativeStyle negativeStyle,
       System.string currencySymbol,
       Field.CurrencySymbolStyle currencySymbolStyle
    )

    Parameters

    value
    The value to assign.
    decimalPlaces
    The number of digits that appear to the right of the decimal point. Valid values are from 0 to 10, inclusive.
    separatorStyle
    The placement of commas and periods, see Field.NumberSeparatorStyle.
    negativeStyle
    How negative numbers are displayed.
    currencySymbol
    The currency symbol, or a null reference (Nothing in Visual Basic) or empty string.
    currencySymbolStyle
    The location of the currency symbol in relation to the number. This parameter is meaningful only if currencySymbol is not a null reference (Nothing in Visual Basic) or empty.
    See Also