Table of Contents

Method Preview

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Preview(CadDocument)

Makes a drawing of a square hatched with these settings, for a dialog's preview drawn through the presenter's own display: 25 across times the scale of a pattern, ten spacings for lines of the user's, 25 for a fill; the pattern found as the source document finds it. A pattern that cannot be found or read leaves the square drawn by its edge.

public CadDocument Preview(CadDocument source)

Parameters

source CadDocument

The document whose support folders the pattern is looked for in; null for the presenter's own set alone.

Returns

CadDocument

The drawing.