Class FontResolverInfo
Describes the physical font that must be used to render a particular XFont.
public class FontResolverInfo- Inheritance
- 
      
      FontResolverInfo
- Inherited Members
Constructors
FontResolverInfo(string)
Initializes a new instance of the FontResolverInfo struct.
public FontResolverInfo(string faceName)Parameters
- faceNamestring
- The name that uniquely identifies the font face. 
FontResolverInfo(string, XStyleSimulations)
Initializes a new instance of the FontResolverInfo struct.
public FontResolverInfo(string faceName, XStyleSimulations styleSimulations)Parameters
- faceNamestring
- The name that uniquely identifies the font face. 
- styleSimulationsXStyleSimulations
- The style simulation flags. 
FontResolverInfo(string, bool, bool)
Initializes a new instance of the FontResolverInfo struct.
public FontResolverInfo(string faceName, bool mustSimulateBold, bool mustSimulateItalic)Parameters
- faceNamestring
- The name that uniquely identifies the font face. 
- mustSimulateBoldbool
- Set to - trueto simulate bold when rendered. Not implemented and must be false.
- mustSimulateItalicbool
- Set to - trueto simulate italic when rendered.
Properties
FaceName
A name that uniquely identifies the font face (not the family), e.g. the file name of the font. PDFsharp does not use this name internally, but passes it to the GetFont function of the IFontResolver interface to retrieve the font data.
public string FaceName { get; }Property Value
MustSimulateBold
Indicates whether bold must be simulated.
public bool MustSimulateBold { get; }Property Value
MustSimulateItalic
Indicates whether italic must be simulated.
public bool MustSimulateItalic { get; }Property Value
StyleSimulations
Gets the style simulation flags.
public XStyleSimulations StyleSimulations { get; }