Click or drag to resize

PdfJavaScript GetNumberKeystrokeString Method

Get a AFNumber_Keystroke string

Namespace: Spire.Pdf.Actions
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public static string GetNumberKeystrokeString(
	int nDec,
	int sepStyle,
	int negStyle,
	int currStyle,
	string strCurrency,
	bool bCurrencyPrepend
)

Parameters

nDec
Type: System Int32
The number of places after the decimal point
sepStyle
Type: System Int32
The integer denoting whether to use a separator or not. If sepStyle=0, use commas. If sepStyle=1, do not separate.
negStyle
Type: System Int32
The formatting used for negative numbers: 0 = MinusBlack, 1 = Red, 2 = ParensBlack, 3 = ParensRed
currStyle
Type: System Int32
The currency style - not used
strCurrency
Type: System String
The currency symbol
bCurrencyPrepend
Type: System Boolean
True to prepend the currency symbol; false to display on the end of the number

Return Value

Type: String
See Also