Constructor CadFonts
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadFonts(IEnumerable<string>, string, IEnumerable<KeyValuePair<string, string>>, Func<string, bool>)
Makes the fonts of a document.
public CadFonts(IEnumerable<string> folders, string replacement, IEnumerable<KeyValuePair<string, string>> substitutions, Func<string, bool> familyExists = null)
Parameters
foldersIEnumerable<string>The folders fonts are looked for in, in order, before the Fonts folder beside the dll; null or empty for none.
replacementstringThe font a font not found is drawn in, as FONTALT: BuiltInName, an SHX file (simplex.shx), a TrueType file or a typeface, and after a comma the big font a big font not found is drawn in (simplex.shx,gbcbig.shx); null or empty for the canvas's own.
substitutionsIEnumerable<KeyValuePair<string, string>>Fonts drawn in others, each name to the name it is drawn in (romans.shx to isocp.shx); null for none.
familyExistsFunc<string, bool>Whether the canvas has a TrueType typeface of a name; null to take every typeface as there.