Get a AFNumber_Keystroke string

Namespace: Spire.Pdf.Actions
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public static string GetNumberKeystrokeString(
	int nDec,
	int sepStyle,
	int negStyle,
	int currStyle,
	string strCurrency,
	bool bCurrencyPrepend
)
Public Shared Function GetNumberKeystrokeString ( 
	nDec As Integer,
	sepStyle As Integer,
	negStyle As Integer,
	currStyle As Integer,
	strCurrency As String,
	bCurrencyPrepend As Boolean
) As String
public:
static String^ GetNumberKeystrokeString(
	int nDec, 
	int sepStyle, 
	int negStyle, 
	int currStyle, 
	String^ strCurrency, 
	bool bCurrencyPrepend
)
static member GetNumberKeystrokeString : 
        nDec : int * 
        sepStyle : int * 
        negStyle : int * 
        currStyle : int * 
        strCurrency : string * 
        bCurrencyPrepend : bool -> string 

Parameters

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

Return Value

String

See Also