Click or drag to resize

PdfStringCreate Method (String)

Creates the literal text PdfString instance from the specified String value.

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public static PdfString Create(
	string value
)

Parameters

value
Type: SystemString
The string value.

Return Value

Type: PdfString
A literal text PdfString instance created from the specified String value.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is .
Remarks
If all characters from the value can be encoded with PDFDoc encoding, then PDFDoc encoding will be used; otherwise, UTF16BE encoding will be used.
See Also