Method Split
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Split(int, string, bool)
Splits the current tile, or the whole drawing area, into the configuration given, as -VPORTS 2, 3 and 4 and the
Viewports dialog do: count 2 with Horizontal or Vertical, 3 with Horizontal, Vertical, Above,
Below, Left or Right, 4 into four equal tiles. One undo step.
public string Split(int count, string arrangement, bool whole)
Parameters
countint2, 3 or 4.
arrangementstringThe arrangement keyword; ignored for 4.
wholeboolTrue to split the whole drawing area (Apply to: Display), the other tiles going; false to split the current tile only (Apply to: Current Viewport, as -VPORTS does).
Returns
- string
Null where done, else what AutoCAD says: "The specified division would create too many viewports.".