VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.JavaScriptApi Namespace / PdfJsUtil Class / printf(String,Object[]) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    printf(String,Object[]) Method (PdfJsUtil)
    In This Topic
    Formats one or more arguments as a string according to a format string.
    Syntax
    'Declaration
    
    Public Function printf( _
    ByVal cFormat
    The format string to use.
    As System.String, _
    ByVal ParamArray arguments
    The optional arguments that contain the data to be inserted in place of the % tags specified in the first parameter, the format string. The number of optional arguments must be the same as the number of % tags.
    () As System.Object _
    ) As System.String
    public System.String printf(
    System.String cFormat,
    params System.Object[] arguments
    )
    public: System.String printf(
    System.String cFormat,
    params System.Object[]* arguments
    )
    public:
    System.String printf(
    System.String cFormat,
    ... array<System.Object>^ arguments
    )

    Parameters

    cFormat
    The format string to use.
    arguments
    The optional arguments that contain the data to be inserted in place of the % tags specified in the first parameter, the format string. The number of optional arguments must be the same as the number of % tags.

    Return Value

    A result string formatted as specified.
    Remarks

    Function similar to the C function of the same name.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also