Table of Contents

Method WithSubstitution

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

WithSubstitution(string, string)

Gets these fonts with one more font drawn in another, as a font missing is given its own replacement: the same folders and replacement, the name added to Substitutions or its font changed.

public CadFonts WithSubstitution(string name, string drawnIn)

Parameters

name string

The font a style names: romans.shx.

drawnIn string

The font it is drawn in: isocp.shx.

Returns

CadFonts

The fonts.

Exceptions

ArgumentException

Thrown when either name is null or blank.