Method AddRect
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
AddRect(object, object, bool, object)
Adds a new vdRect in the document.
public object AddRect(object point1, object point2, bool drawit, object entities)
Parameters
point1objectThe first point of the vdRect.
point2objectThe second point of the vdRect.
drawitboolDefines if the vdPolyline object will be drawn right after inserted or it will be drawn next time the whole document is redrawn.
entitiesobjectThe entities collection where the rectangle will be added. This can be the entities of layout or a block.
Returns
- object
The vdRect object created.
Remarks
Attention, the source .vds file is not modified.