XFont ClassTerminal Works - PDF Printing.Net Library
Defines an object used to draw text.
Inheritance Hierarchy

SystemObject
  PdfEdit.DrawingXFont

Namespace: PdfEdit.Drawing
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax

public sealed class XFont

The XFont type exposes the following members.

Constructors

  NameDescription
Public methodXFont
Initializes a new instance of the XFont class
Public methodXFont(Font)
Initializes a new instance of the XFont class from a System.Drawing.Font.
Public methodXFont(Font, XPdfFontOptions)
Initializes a new instance of the XFont class from a System.Drawing.Font.
Public methodXFont(String, Double)
Initializes a new instance of the XFont class.
Public methodXFont(FontFamily, Double, XFontStyle)
Initializes a new instance of the XFont class from a System.Drawing.FontFamily.
Public methodXFont(String, Double, XFontStyle)
Initializes a new instance of the XFont class.
Public methodXFont(XFontSource, Double, XPdfFontOptions)
Initializes a new instance of the XFont class.
Public methodXFont(FontFamily, Double, XFontStyle, XPdfFontOptions)
Initializes a new instance of the XFont class from a System.Drawing.FontFamily.
Public methodXFont(String, Double, XFontStyle, XPdfFontOptions)
Initializes a new instance of the XFont class.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHeight
Returns the line spacing, in pixels, of this font. The line spacing is the vertical distance between the base lines of two consecutive lines of text. Thus, the line spacing includes the blank space between lines along with the height of the character itself.
Public methodGetHeight(XGraphics) Obsolete.
Returns the line spacing, in the current unit of a specified Graphics object, of this font. The line spacing is the vertical distance between the base lines of two consecutive lines of text. Thus, the line spacing includes the blank space between lines along with the height of
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Operators

  NameDescription
Public operatorStatic member(Font to XFont)
Implicit conversion form Font to XFont
Top
Properties

  NameDescription
Public propertyBold
Indicates whether this XFont object is bold.
Public propertyCellAscent
Gets the cell ascent, the area above the base line that is used by the font.
Public propertyCellDescent
Gets the cell descent, the area below the base line that is used by the font.
Public propertyCellSpace
Gets the cell space for the font. The CellSpace is the line spacing, the sum of CellAscent and CellDescent and optionally some extra space.
Public propertyFontFamily
Gets the XFontFamily object associated with this XFont object.
Public propertyGdiFontFamily
Gets the GDI family.
Public propertyHeight
Gets the line spacing of this font.
Public propertyItalic
Indicates whether this XFont object is italic.
Public propertyMetrics
Gets the font metrics.
Public propertyName
WRONG: Gets the face name of this Font object. Indeed it returns the font family name.
Public propertyPdfOptions
Gets the PDF options of the font.
Public propertySize
Gets the em-size of this font measured in the unit of this font object.
Public propertyStrikeout
Indicates whether this XFont object is stroke out.
Public propertyStyle
Gets style information for this Font object.
Public propertyUnderline
Indicates whether this XFont object is underlined.
Top
See Also

Reference