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 As System.String, _
ByVal ParamArray () As System.Object _
) As System.String
public System.String printf(
System.String ,
params System.Object[]
)
public: System.String printf(
System.String ,
params System.Object[]*
)
public:
System.String printf(
System.String ,
... array<System.Object>^
)
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: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5
See Also