Table of Contents

Method FamilyOf

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

FamilyOf(string)

Gets the family of a font file a style names (arial.ttf gives Arial); null where none found has that file.

public static string FamilyOf(string fileName)

Parameters

fileName string

The file, with or without its folder.

Returns

string

The family, or null.