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)
Syntaxpublic virtual char EncodeToPdf(
string globalFontName,
char charToEncode
)
Public Overridable Function EncodeToPdf (
globalFontName As String,
charToEncode As Char
) As Char
Parameters
- globalFontName
- Type: SystemString
Name of the font in GlobalResources. - charToEncode
- Type: SystemChar
The text to encode.
Return Value
Type:
CharAn encoded character
Remarks
This is meant to be used for text that will appear in a content stream of a PDF document.
See Also