Share via


FontFile Class

Definition

Represents a font file.

public ref class FontFile
public class FontFile
type FontFile = class
Public Class FontFile
Inheritance
FontFile

Constructors

FontFile()

Fields

Extensions

Supported extensions for FontFile.

Properties

Extension

The filename extension for this font.

FileName

The filename for this font.

PostScriptName

The font PostScript name as read from the font file.

Methods

FileNameWithExtension()

Gets the filename of this font file, including the extension.

FileNameWithExtension(String)

Gets the filename of this font file with the provided extension appended to the end.

FromString(String)

Creates a new instance of a FontFile object based on the value in input.

GetPostScriptNameWithSpaces()

Gets the font PostScript name as read from the font file, including any spaces if it had any.

Applies to