FreeSpire.PDF by Administrator

<PackageReference Include="FreeSpire.PDF" Version="5.4.0" />

 PdfJavaScript

public class PdfJavaScript
The Adobe Built-in JavaScript
public PdfJavaScript()

public static string GetDateFormatString(string cFormat)

Get a AFDate_FormatEx string

public static string GetDateKeystrokeString(string cFormat)

Get a AFDate_KeystrokeEx string

public static string GetNumberFormatString(int nDec, int sepStyle, int negStyle, int currStyle, string strCurrency, bool bCurrencyPrepend)

Get a AFNumber_Format string

public static string GetNumberKeystrokeString(int nDec, int sepStyle, int negStyle, int currStyle, string strCurrency, bool bCurrencyPrepend)

Get a AFNumber_Keystroke string

public static string GetPercentFormatString(int nDec, int sepStyle)

Get a AFPercent_Format string

public static string GetPercentKeystrokeString(int nDec, int sepStyle)

Get a AFPercent_Keystroke string

public static string GetRangeValidateString(bool bGreaterThan, float nGreaterThan, bool bLessThan, float nLessThan)

Get a AFRange_Validate string

public static string GetSimpleCalculateString(string cFunction, string[] cFields)

Get a AFSimple_Calculate string

public static string GetSpecialFormatString(int psf)

Get a AFSpecial_Format string

public static string GetSpecialKeystrokeString(int psf)

Get a AFSpecial_Format string

public static string GetTimeFormatString(int ptf)

Get a AFTime_Format string

public static string GetTimeKeystrokeString(int ptf)

Get a AFTime_Keystroke string