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.
Initializes a new instance of the ImGearPDEFont class.
Syntax
public ImGearPDEFont(
ImGearPDEFontAttrs ,
int ,
int ,
short[] ,
string[] ,
ImGearPDFAtom ,
ImGearPDFStream ,
int ,
int ,
int remainingPartLength,
ImGearPDFDocument
)
public: ImGearPDEFont(
ImGearPDEFontAttrs* ,
int ,
int ,
short[]* ,
string*[]* ,
ImGearPDFAtom* ,
ImGearPDFStream* ,
int ,
int ,
int remainingPartLength,
ImGearPDFDocument*
)
public:
ImGearPDEFont(
ImGearPDEFontAttrs^ ,
int ,
int ,
array<short>^ ,
array<String^>^ ,
ImGearPDFAtom^ ,
ImGearPDFStream^ ,
int ,
int ,
int remainingPartLength,
ImGearPDFDocument^
)
'Declaration
Public Function New( _
ByVal As ImGearPDEFontAttrs, _
ByVal As Integer, _
ByVal As Integer, _
ByVal () As Short, _
ByVal () As String, _
ByVal As ImGearPDFAtom, _
ByVal As ImGearPDFStream, _
ByVal As Integer, _
ByVal As Integer, _
ByVal remainingPartLength As Integer, _
Optional ByVal As ImGearPDFDocument _
)
'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 pdfDoc As ImGearPDFDocument
Dim instance As New ImGearPDEFont(attributes, firstCharacterIndex, lastCharacterIndex, widths, glyphNames, encodingBaseName, fontStream, length, encryptedPartLength, remainingPartLength, pdfDoc)
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.
- pdfDoc
- PDF document in the context of which this font should be created. Pass null to use the scratch doc.
Return Value
The new instance of
ImGearPDEFont class object.
See Also