PdfNumberFormat Constructor (Int32, PdfDigitSeparatorStyle, PdfNegativeNumberStyle, String, Boolean) |
Creates a new number format instance with the specified parameters.
Namespace:
RadPdf.Data.Document.Common
Assembly:
RadPdfStandard (in RadPdfStandard.dll) Version: 5.7.0.0 (5.7.0.0)
Syntaxpublic PdfNumberFormat(
int nDec,
PdfDigitSeparatorStyle sepStyle,
PdfNegativeNumberStyle negStyle,
string currency,
bool currencyPrepend
)
Public Sub New (
nDec As Integer,
sepStyle As PdfDigitSeparatorStyle,
negStyle As PdfNegativeNumberStyle,
currency As String,
currencyPrepend As Boolean
)
Parameters
- nDec
- Type: SystemInt32
The number of digits to show after the decimal - sepStyle
- Type: RadPdf.Data.Document.CommonPdfDigitSeparatorStyle
The digit separator style - negStyle
- Type: RadPdf.Data.Document.CommonPdfNegativeNumberStyle
The negative number format - currency
- Type: SystemString
The currency symbol (if any) - currencyPrepend
- Type: SystemBoolean
A value indicating whether the currency should be prepended to the start of the number format, otherwise appended to the end
See Also