ImageGear .NET
ImGearPDEFont Constructor(ImGearPDEFontAttrs,Int32,Int32,Int16[],String[],ImGearPDFAtom,ImGearPDFStream,Int32,Int32,Int32)




ImGearPDEFontAttrsfor the font attributes.
First character index for the widths array, Widths.
Last character index for the widths array, Widths.
Widths array.
Array of 256 glyph names specifying the custom encoding. If any pointer is null, no encoding information is written for that entry.
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.
Stream with font information.
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.
Length in bytes of the encrypted portion of the Type 1 font file after it has been decoded.
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
'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)

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.
See Also

Reference

ImGearPDEFont Class
ImGearPDEFont Members
Overload List
ImGearPDEFontAttrs Class
ImGearPDFStream Class
ImGearPDFAtom Class

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback