API Reference
FontSpec
Identifies a font without depending on a platform drawing framework.
Inheritance
- Object
- FontSpec
Methods
Clone() #Creates a copy that can be modified independently.
FromFamily(System.String arg1) #Creates a font specification for a family or fallback stack.
Parameters
- arg1 System.String
FromFile(System.String arg1, System.Nullable{System.Int32} arg2, System.String arg3) #Creates a font specification backed by a TrueType font file.
Parameters
- arg1 System.String
- arg2 System.Nullable{System.Int32}
- arg3 System.String
SystemSans() #Creates a system sans-serif font specification.
Properties
Family #Gets or sets the CSS-compatible family or fallback stack.
FilePath #Gets or sets an optional TrueType or TrueType collection path used by raster output.
CollectionIndex #Gets or sets an optional TrueType collection face index.
FaceName #Gets or sets an optional face name used when selecting a collection member.
Weight #Gets or sets the numeric font weight from 100 through 900.
Italic #Gets or sets a value indicating whether an italic face is preferred.