Constructor XFont
XFont(string, double)
Initializes a new instance of the XFont class.
public XFont(string familyName, double emSize)
Parameters
familyNamestringName of the font family.
emSizedoubleThe em size.
XFont(string, double, XFontStyleEx)
Initializes a new instance of the XFont class.
public XFont(string familyName, double emSize, XFontStyleEx style)
Parameters
familyNamestringName of the font family.
emSizedoubleThe em size.
styleXFontStyleExThe font style.
XFont(string, double, XFontStyleEx, XPdfFontOptions)
Initializes a new instance of the XFont class.
public XFont(string familyName, double emSize, XFontStyleEx style, XPdfFontOptions pdfOptions)
Parameters
familyNamestringName of the font family.
emSizedoubleThe em size.
styleXFontStyleExThe font style.
pdfOptionsXPdfFontOptionsAdditional PDF options.
XFont(string, double, XFontStyle, XFontWeight, XFontStretch, XPdfFontOptions?, XStyleSimulations?)
Initializes a new instance of the XFont class. Not yet implemented.
[Obsolete("Not yet implemented.")]
public XFont(string familyName, double emSize, XFontStyle style, XFontWeight weight, XFontStretch fontStretch, XPdfFontOptions? pdfOptions = null, XStyleSimulations? styleSimulations = null)
Parameters
familyNamestringName of the family.
emSizedoubleThe em size.
styleXFontStyleThe style.
weightXFontWeightThe weight.
fontStretchXFontStretchThe font stretch.
pdfOptionsXPdfFontOptionsThe PDF options.
styleSimulationsXStyleSimulations?The style simulations.
Exceptions
- NotImplementedException
XFont
XFont(XTypeface, double, XPdfFontOptions?, XStyleSimulations?)
Initializes a new instance of the XFont class. Not yet implemented.
[Obsolete("Not yet implemented.")]
public XFont(XTypeface typeface, double emSize, XPdfFontOptions? pdfOptions = null, XStyleSimulations? styleSimulations = null)
Parameters
typefaceXTypefaceThe typeface.
emSizedoubleThe em size.
pdfOptionsXPdfFontOptionsThe PDF options.
styleSimulationsXStyleSimulations?The style simulations.
Exceptions
- NotImplementedException
XFont
XFont(XGlyphTypeface, double, XPdfFontOptions?, XStyleSimulations?)
Initializes a new instance of the XFont class. Not yet implemented.
public XFont(XGlyphTypeface glyphTypeface, double emSize, XPdfFontOptions? pdfOptions = null, XStyleSimulations? styleSimulations = null)
Parameters
glyphTypefaceXGlyphTypefaceThe typeface.
emSizedoubleThe em size.
pdfOptionsXPdfFontOptionsThe PDF options.
styleSimulationsXStyleSimulations?The style simulations.