Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.AcroForms Namespace / TextField Class / SetPercentValue Method
The percentage value to assign. For example, 1 corresponds to 100%, 0.5 to 50%, and so on.
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.

In This Topic
    SetPercentValue Method (TextField)
    In This Topic
    Imposes the specified percentage formatting options on the current TextField, and assigns to it the specified value as percentage.
    Syntax
    'Declaration
     
    Public Sub SetPercentValue( _
       ByVal value As System.Double, _
       ByVal decimalPlaces As System.Integer, _
       ByVal separatorStyle As Field.NumberSeparatorStyle _
    ) 
    public void SetPercentValue( 
       System.double value,
       System.int decimalPlaces,
       Field.NumberSeparatorStyle separatorStyle
    )

    Parameters

    value
    The percentage value to assign. For example, 1 corresponds to 100%, 0.5 to 50%, and so on.
    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 Also