Table of Contents

Constructor CadMTextMask

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CadMTextMask(bool, double, bool, DxfColor)

Makes a mask.

public CadMTextMask(bool useMask, double offsetFactor, bool useDrawingBackground, DxfColor fillColor)

Parameters

useMask bool

Whether the words stand on a mask.

offsetFactor double

How far the mask reaches past the words, a multiple of the text height from 1 to 5.

useDrawingBackground bool

Whether the mask takes the drawing's background colour, rather than fillColor.

fillColor DxfColor

The colour of the mask, an index or a true colour; null for the colour the record gives none, by layer.

Exceptions

ArgumentOutOfRangeException

Thrown when the factor is not a number from 1 to 5.