Table of Contents

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

document CadDocument

The document.

name string

The style's name.

settings CadTextStyleSettings

The settings.

Returns

CadEditResult

What came of it; refused for a width not above nought, a height below nought or a slant past 85 degrees.