Nevron .NET Vision
NDrawingDocument Class

The NDrawingDocument class represents a diagram document, which can be used for generic drawing
Object Model
NDrawingDocument Class
The content of each drawing is divided in layers. The layers of a drawing are accessible from the Layers property. Of all layers in a drawing only one can be active. The active layer is obtained from the ActiveLayer property and is controlled by the ActiveLayerUniqueId property.

The content of a drawing is measured in logical measurement units. The logical measurement unit is controlled by the MeasurementUnit property. The measurement unit in which the content is painted is called world measurement unit. In case there is no drawing scale the world measurement unit is equal to the logical measurement unit.

The bounds of the drawing are measured in the logical measurement unit. The drawing bounds can be calculated in several modes:

In case the mode is set to AutoInflateToContent or AutoSizeToContent, the drawing will take into accout the AutoBoundsPadding property (controls the padding applied to the computed bounds) and the AutoBoundsMinSize property (controls the minimal size of automatic bounds).

Inheritance Hierarchy



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


NDrawingDocument Members
Nevron.Diagram Namespace



©2021. Nevron Software LLC.

Send Feedback