Type1Font
Represents a Type1Font font.
public class Type1Font : Font
Public Class Type1Font
Inherits Font
Inheritance: ObjectResourceFontType1Font
Licensing Info
This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
See the Type1 Fonts topic for more on Type1 fonts.
Constructors
Type1Font(String, String) | Initializes a new instance of the Type1Font class. |
Properties
Ascender | Gets the ascender for the font. |
Descender | Gets the descender for the font. |
Encoder | Gets the encoder for the font. (Inherited from Font) |
FormFontName | Gets the four character name of the font. (Inherited from Font) |
LineBreaker | Gets the default line breaker for the font. |
LineGap | Gets the line gap for the font. |
Name | Gets the name of the font. |
RequiredPdfObjects | Gets the number of PDF objects required by the type 1 font. |
ResourceType | Gets the resource type. (Inherited from Font) |
Uid | Gets the unique ID of the resource. (Inherited from Resource) |
Methods
Draw(DocumentWriter) | Draws the Type 1 font to the given DocumentWriter object. |
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetAscender(Single) | Returns the ascender of the font in points for the given font size. (Inherited from Font) |
GetBaseLine(Single, Single) | Returns the baseline of the font in points for the given leading and font size. (Inherited from Font) |
GetDefaultLeading(Single) | Returns the default leading of the font in points for the given font size. (Inherited from Font) |
GetDescender(Single) | Returns the descender of the font in points for the given font size. (Inherited from Font) |
GetGlyphWidth(Char) | Returns the mwidth of a glyph. |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetKernValue(Char, Char) | Returns kerning space between two chars. (Inherited from Font) |
GetLineGap(Single) | Returns the line gap of the font in points for the given font size. (Inherited from Font) |
GetTextLines(Char[], Single, Single) | Returns a TextLineList for the given character array. (Inherited from Font) |
GetTextLines(Char[], Single, Single, Single) | Returns a TextLineList for the given character array. (Inherited from Font) |
GetTextWidth(Char[], Single) | Returns the width of the given text. (Inherited from Font) |
GetTextWidth(String, Single) | Returns the width of the given text. (Inherited from Font) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
HasKerning() | Indicates whether the given font is having Kerning pairs or not. (Inherited from Font) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |