'Declaration Public Function New( _ ByVal attributes As ImGearPDEFontAttrs, _ ByVal firstCharacterIndex As Integer, _ ByVal lastCharacterIndex As Integer, _ ByVal widths() As Short, _ ByVal glyphNames() As String, _ ByVal encodingBaseName As ImGearPDFAtom, _ ByVal fontStream As ImGearPDFStream, _ ByVal length As Integer, _ ByVal encryptedPartLength As Integer, _ ByVal remainingPartLength As Integer _ )
'Usage Dim attributes As ImGearPDEFontAttrs Dim firstCharacterIndex As Integer Dim lastCharacterIndex As Integer Dim widths() As Short Dim glyphNames() As String Dim encodingBaseName As ImGearPDFAtom Dim fontStream As ImGearPDFStream Dim length As Integer Dim encryptedPartLength As Integer Dim remainingPartLength As Integer Dim instance As New ImGearPDEFont(attributes, firstCharacterIndex, lastCharacterIndex, widths, glyphNames, encodingBaseName, fontStream, length, encryptedPartLength, remainingPartLength)
public ImGearPDEFont( ImGearPDEFontAttrs attributes, int firstCharacterIndex, int lastCharacterIndex, short[] widths, string[] glyphNames, ImGearPDFAtom encodingBaseName, ImGearPDFStream fontStream, int length, int encryptedPartLength, int remainingPartLength )
public: ImGearPDEFont( ImGearPDEFontAttrs* attributes, int firstCharacterIndex, int lastCharacterIndex, short[]* widths, string*[]* glyphNames, ImGearPDFAtom* encodingBaseName, ImGearPDFStream* fontStream, int length, int encryptedPartLength, int remainingPartLength )
Parameters
- attributes
- ImGearPDEFontAttrsfor the font attributes.
- firstCharacterIndex
- First character index for the widths array, Widths.
- lastCharacterIndex
- Last character index for the widths array, Widths.
- widths
- Widths array.
- glyphNames
- Array of 256 glyph names specifying the custom encoding. If any pointer is null, no encoding information is written for that entry.
- encodingBaseName
- Encoding base name if the encoding is a custom encoding. If encoding is null, encodingBaseName is used as the value of the encoding, and must be one of WinAnsiEncoding, MacRomanEncoding, or MacExpertEncoding. If no encoding value is desired, use null Atom.
- fontStream
- Stream with font information.
- length
- Length in bytes of the ASCII portion of the Type 1 font file after it has been decoded. For other font formats, such as TrueType or CFF, only len1 is used, and it is the size of the font.
- encryptedPartLength
- Length in bytes of the encrypted portion of the Type 1 font file after it has been decoded.
- remainingPartLength
- Length in bytes of the portion of the Type 1 font file that contains the 512 zeros, plus the cleartomark operator, plus any following data.
Return Value
The new instance of ImGearPDEFont class object.