Table of Contents

Class CadFreeSpaceOptions

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What FreeSpace(CadDocument, CadSpace, DisplayBox, CadFreeSpaceOptions, Tolerance) and Fits(CadDocument, CadSpace, CadFrame, CadFreeSpaceOptions, Tolerance) count as in the way: the kinds of entity whose drawn parts take room, and how much clear room to leave round them.

public sealed class CadFreeSpaceOptions
Inheritance
CadFreeSpaceOptions
Inherited Members

Properties

Kinds

Gets or sets the kinds of entity that take room, as the DXF names of Words give them (TEXT, MTEXT, DIMENSION, LINE, INSERT, MLEADER too); null for every kind. What an INSERT draws, a block's lines and words, is of the kind INSERT.

Margin

Gets or sets the clear room left round what takes room, in millimetres, at least nought: a free rectangle stands that far from every line and word, and a candidate that fits is that far from them. Nought is the tolerance's: a thing that only touches another fits beside it.

MinHeight

Gets or sets the least height of a free rectangle, as MinWidth is the least width.

MinWidth

Gets or sets the least width of a free rectangle FreeSpace(CadDocument, CadSpace, DisplayBox, CadFreeSpaceOptions, Tolerance) gives, at least nought. A rectangle narrower than the thing to place is of no use, and in a crowded frame there are thousands of them: with the width and height of the thing given, only the rectangles it could stand in are found. Not used by Fits(CadDocument, CadSpace, CadFrame, CadFreeSpaceOptions, Tolerance).