Table of Contents

Method Sample

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Sample(DxfDatabase, CadMLeaderStyleSettings)

Makes the sample multileader of the Manager's preview: a drawing of its own whose one style, Standard, has the settings (its text style Standard given the font of the one they name in the drawing edited, its leaders ByBlock), and a multileader of the words "Default Text" in it, its arrow at the origin and its landing 6 by 4 text heights up to the right, made as MLEADER makes one; with no landing where the settings leave it out (its dogleg not drawn, the leader line running on to the words).

public static DxfDatabase Sample(DxfDatabase source, CadMLeaderStyleSettings settings)

Parameters

source DxfDatabase

The drawing edited, whose text style's font the words take; null for Standard's own.

settings CadMLeaderStyleSettings

The settings of the style.

Returns

DxfDatabase

The drawing of the sample; of no multileader where the settings do not make a style.

Exceptions

ArgumentNullException

Thrown when the settings are null.