Table of Contents

Method Join

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Join(int, int)

Joins two tiles into one, as -VPORTS Join: the dominant one keeps its number and its view and takes the place of both. One undo step.

public string Join(int dominant, int other)

Parameters

dominant int

The number of the tile that stays.

other int

The number of the tile joined to it.

Returns

string

Null where joined, else what AutoCAD says: "The selected viewports must be distinct." or "The selected viewports do not form a rectangle.".