O2S.Components.PDF4NET Documentation
CreateGlyphFromUnicodeCodePoint(Byte,Int32) Method



O2S.Components.PDF4NET.Graphics Namespace > PDFType3Font Class > CreateGlyphFromUnicodeCodePoint Method : CreateGlyphFromUnicodeCodePoint(Byte,Int32) Method
The character code in this font that is associated with the glyph image
Source code point for which the glyph image is extracted from the TrueType font
Creates a PDFType3Glyph from the given code point and associates it with the given character code in this font.
Syntax
'Declaration
 
Public Overloads Sub CreateGlyphFromUnicodeCodePoint( _
   ByVal characterCode As Byte, _
   ByVal codePoint As Integer _
) 
'Usage
 
Dim instance As PDFType3Font
Dim characterCode As Byte
Dim codePoint As Integer
 
instance.CreateGlyphFromUnicodeCodePoint(characterCode, codePoint)
public void CreateGlyphFromUnicodeCodePoint( 
   byte characterCode,
   int codePoint
)
public:
void CreateGlyphFromUnicodeCodePoint( 
   byte characterCode,
   int codePoint
) 

Parameters

characterCode
The character code in this font that is associated with the glyph image
codePoint
Source code point for which the glyph image is extracted from the TrueType font
Remarks
This method can be used only if the PDFType3Font object has been created from a PDFTrueTypeFont object.
Example
// Creates a Type3 glyph for "A" character and sets its image to the hot dog emoji (0x1F32D Unicode code point) type3Font.CreateGlyphFromUnicodeCodePoint((byte)"A", 0x1F32D);
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDFType3Font Class
PDFType3Font Members
Overload List