Font Class
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Represents a font in the PDF document.
Inheritance Hierarchy
Bytescout.PDFFont
Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
The Font type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Font(String, Single) | Initializes a new Bytescout.PDF.Font using a specified properties. | |
Font(StandardFonts, Single) | Initializes a new instance of the standard font with specified properties. | |
Font(StandardFonts, Single, Boolean, Boolean) | Initializes a new instance of the standard font with specified properties. | |
Font(String, Single, Boolean, Boolean, Boolean, Boolean) | Initializes a new Bytescout.PDF.Font using a specified properties. |
Properties
Name | Description | |
---|---|---|
Bold | Gets a value indicating whether this Bytescout.PDF.Font is bold. | |
Italic | Gets a value indicating whether this Bytescout.PDF.Font is italic. | |
Name | Gets the name of the font. | |
Size | Gets or sets the em-size of this Bytescout.PDF.Font. | |
Strikeout | Gets or sets a value indicating whether this Bytescout.PDF.Font specifies a horizontal line through the font. | |
Underline | Gets or sets a value indicating whether this Bytescout.PDF.Font is underlined. |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FromFile(String, Single) | Creates a Bytescout.PDF.Font from the specified file. | |
FromFile(String, Single, Boolean, Boolean) | Creates a Bytescout.PDF.Font from the specified file. | |
FromStream(Stream, Single) | Creates a Bytescout.PDF.Font from the specified data stream. | |
FromStream(Stream, Single, Boolean, Boolean) | Creates a Bytescout.PDF.Font from the specified data stream. | |
GetHashCode | (Inherited from Object.) | |
GetTextHeight | Get the height of a string in pixels. | |
GetTextWidth | Get the width in pixels of the specified string. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
See Also