Click or drag to resize

PdfStringCreate Method (String, IPdfEncoding, PdfStringForm)

Creates the PdfString instance from the specified String value.

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1002
Syntax
public static PdfString Create(
	string value,
	IPdfEncoding encoding,
	PdfStringForm form
)

Parameters

value
Type: SystemString
The string value.
encoding
Type: GemBox.Pdf.TextIPdfEncoding
The encoding used to encode the value.
form
Type: GemBox.Pdf.ObjectsPdfStringForm
The form in which created PdfString instance shall be written.

Return Value

Type: PdfString
A PdfString instance created from the specified String value.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is or encoding is .
See Also