Method Apply
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Apply(CadDocument, string, CadTextStyleSettings)
Writes the settings into a style, as Apply of the Text Style dialog: every text written in it drawn again in them. Nothing is written, and nothing refused, where they are the style's already.
public static CadEditResult Apply(CadDocument document, string name, CadTextStyleSettings settings)
Parameters
documentCadDocumentThe document.
namestringThe style's name.
settingsCadTextStyleSettingsThe settings.
Returns
- CadEditResult
What came of it; refused for a width not above nought, a height below nought or a slant past 85 degrees.