FormFieldValueFormat.CreateNumberFormat(Int32, FormFieldNumberSeparatorStyle, String, FormFieldCurrencyStyle, FormFieldNegativeNumberStyle) Method
Creates a number format for a form field value.
Namespace: DevExpress.Docs.Pdf
Assembly: DevExpress.Docs.Pdf.v26.1.dll
Declaration
public static FormFieldValueFormat CreateNumberFormat(
int decimalPlaces,
FormFieldNumberSeparatorStyle separatorStyle,
string currencySymbol,
FormFieldCurrencyStyle currencyStyle,
FormFieldNegativeNumberStyle negativeNumberStyle
)
Parameters
| Name | Type | Description |
|---|---|---|
| decimalPlaces | Int32 | A number of decimal places. |
| separatorStyle | FormFieldNumberSeparatorStyle | Specifies the style of the number separator. |
| currencySymbol | String | A currency symbol. |
| currencyStyle | FormFieldCurrencyStyle | Specifies the style of the currency symbol. |
| negativeNumberStyle | FormFieldNegativeNumberStyle | Specifies the style of negative numbers. |
Returns
| Type | Description |
|---|---|
| FormFieldValueFormat | An object that contains the number format. |
See Also