Skip to main content
A newer version of this page is available. .
.NET Standard 2.0+

PdfAcroFormValueFormat.CreateNumberFormat(Int32, PdfAcroFormNumberSeparatorStyle, String, PdfAcroFormCurrencyStyle, PdfAcroFormNegativeNumberStyle) Method

Creates a number format for a form field value.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v19.1.Core.dll

Declaration

public static PdfAcroFormValueFormat CreateNumberFormat(
    int decimalPlaces,
    PdfAcroFormNumberSeparatorStyle separatorStyle,
    string currencySymbol,
    PdfAcroFormCurrencyStyle currencyStyle,
    PdfAcroFormNegativeNumberStyle negativeNumberStyle
)

Parameters

Name Type Description
decimalPlaces Int32

A number of decimal places.

separatorStyle PdfAcroFormNumberSeparatorStyle

An enumeration value that indicates the number separator style.

currencySymbol String

A currency symbol.

currencyStyle PdfAcroFormCurrencyStyle

An enumeration value that indicates the currency style.

negativeNumberStyle PdfAcroFormNegativeNumberStyle

An enumeration value that indicates the negative number style.

Returns

Type Description
PdfAcroFormValueFormat

An object that contains the number format.

See Also