• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FontFaceSelectionEventArgs

Event arguments for the FontSelection event. Allows listeners to inspect or override the font face selected for rendering.

Inheritance
object
EventArgs
FontFaceSelectionEventArgs
Inherited Members
EventArgs.Empty
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Content
Assembly: DRIT.Pdf.dll
Syntax
public sealed class FontFaceSelectionEventArgs : EventArgs

Constructors

FontFaceSelectionEventArgs(string, PdfFontStyle, PdfFontWeight)

Initializes event arguments for a font face selection request.

Declaration
public FontFaceSelectionEventArgs(string requestedFamily, PdfFontStyle requestedStyle, PdfFontWeight requestedWeight)
Parameters
Type Name Description
string requestedFamily
PdfFontStyle requestedStyle
PdfFontWeight requestedWeight

Properties

RequestedFamily

Gets the font family name that was requested.

Declaration
public string RequestedFamily { get; }
Property Value
Type Description
string

RequestedStyle

Gets the requested font style.

Declaration
public PdfFontStyle RequestedStyle { get; }
Property Value
Type Description
PdfFontStyle

RequestedWeight

Gets the requested font weight.

Declaration
public PdfFontWeight RequestedWeight { get; }
Property Value
Type Description
PdfFontWeight

ResolvedFace

Gets or sets the resolved font face to use. Set to override the default resolution.

Declaration
public FontFace? ResolvedFace { get; set; }
Property Value
Type Description
FontFace
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX