Nevron .NET Vision
Nevron.Diagram Namespace / NDrawingDocument Class
Members


In This Topic
    NDrawingDocument Class
    In This Topic
    The NDrawingDocument class represents a diagram document, which can be used for generic drawing
    Object Model
    NDrawingDocument Class
    Syntax
    'Usage
     
    
    Dim instance As NDrawingDocument
    Remarks
    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:

    • User defined bounds are used. The descendant nodes can be placed outside the drawing bounds.
    • User defined bounds are used. The descendant nodes cannot be placed outside the drawing bounds.
    • The drawing bounds are automatically sized to the content bounds.
    • The document bounds are automatically inflated to contain the content bounds.
    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

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             Nevron.Diagram.NDocument
                Nevron.Diagram.NDrawingDocument

    Requirements

    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