Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

bc341224 8811 7001 7129 919a3a514e38

haplokuon edited this page May 6, 2023 · 1 revision

ClippingBoundary Property

netDxf 3.0.0 Library

Entity that serves as the viewport clipping boundary (only present if viewport is non-rectangular).

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public EntityObject ClippingBoundary { get; set; }

VB

Public Property ClippingBoundary As EntityObject
	Get
	Set

C++

public:
property EntityObject^ ClippingBoundary {
	EntityObject^ get ();
	void set (EntityObject^ value);
}

F#

member ClippingBoundary : EntityObject with get, set

Property Value

EntityObject

Remarks

AutoCad does not allow the creation of viewports from open shapes such as LwPolylines, Polylines, or ellipse arcs; but if they are edited afterward, making them open, it will not complain, and they will work without problems. So, it is possible to use open shapes as clipping boundaries, even if it is not recommended. It might not be supported by all programs that read DXF files and a redraw of the layout might be required to show them correctly inside AutoCad.
Only X and Y coordinates will be used the entity normal will be considered as UnitZ.
When the viewport is added to the document this entity will be added too.

See Also

Reference

Viewport Class
netDxf.Entities Namespace

Clone this wiki locally