Click or drag to resize

PdfTextSurfaceEncodeToPdf Method (String, Char)

Encodes a single character to PDF using an appropriate encoding for the supplied font in GlobalResources.

Namespace:  Atalasoft.PdfDoc.Generating.Rendering
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public virtual char EncodeToPdf(
	string globalFontName,
	char charToEncode
)

Parameters

globalFontName
Type: SystemString
Name of the font in GlobalResources.
charToEncode
Type: SystemChar
The text to encode.

Return Value

Type: Char
An encoded character
Remarks
This is meant to be used for text that will appear in a content stream of a PDF document.
See Also