[]
Creates a subset of the font containing the specified UTF-32 characters, then serializes the subset to a byte array.
public byte[] CharsToArray(Font font, Utf32CodeSet utf32CodeSet, FontSubsetFlags subsetFlags = FontSubsetFlags.PdfTextField)
Public Function CharsToArray(font As Font, utf32CodeSet As Utf32CodeSet, Optional subsetFlags As FontSubsetFlags = FontSubsetFlags.PdfTextField) As Byte()
Type | Name | Description |
---|---|---|
Font | font | The Font object to serialize. |
Utf32CodeSet | utf32CodeSet | A set of UTF-32 characters to be supported in the resulting font subset. |
FontSubsetFlags | subsetFlags | Font serialization options. |
Type | Description |
---|---|
byte[] | Binary data with the resulting font subset. |
Creates a subset of the font containing the specified UTF-32 characters, then serializes the subset to a byte array.
public byte[] CharsToArray(Font font, HashSet<int> utf32Chars, FontSubsetFlags subsetFlags = FontSubsetFlags.PdfTextField)
Public Function CharsToArray(font As Font, utf32Chars As HashSet(Of Integer), Optional subsetFlags As FontSubsetFlags = FontSubsetFlags.PdfTextField) As Byte()
Type | Name | Description |
---|---|---|
Font | font | The Font object to serialize. |
HashSet<int> | utf32Chars | UTF-32 characters to be supported in the resulting font subset. |
FontSubsetFlags | subsetFlags | Font serialization options. |
Type | Description |
---|---|
byte[] | Binary data with the resulting font subset. |