Nevron .NET Vision Documentation
NDrawingView Class
Members 


The NDrawingView class represents a view, which is used to display and edit a single NDrawingDocument instance
Object Model
NDrawingView Class
Syntax
'Declaration
 
<System.ComponentModel.LicenseProviderAttribute(Nevron.Diagram.WinForm.NDWFLicenseProvider)>
<System.Drawing.ToolboxBitmapAttribute()>
<System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Nevron.Diagram.Editors.NDrawingViewDesigner, Nevron.Diagram.WinForm, Version=19.5.8.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48")>
<System.ComponentModel.DefaultPropertyAttribute("Document")>
<System.SerializableAttribute()>
Public Class NDrawingView 
   Inherits NView
   Implements Nevron.Diagram.INHitTest, Nevron.Diagram.INInvalidatable, Nevron.Diagram.INMeasurementContext, Nevron.Diagram.INMeasurements, Nevron.Diagram.INMeasurementUnit, Nevron.Diagram.INMeasurementUnitConverter, Nevron.Diagram.INStyleable, Nevron.Diagram.INStyleComposer, Nevron.Diagram.INView, Nevron.Diagram.INVisible, Nevron.Diagram.INWorld, INStatusBarInfo, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INNode, Nevron.Dom.INNodeContainer, Nevron.Dom.INServiceProvider, Nevron.Globalization.INLocalizable, Nevron.GraphicsCore.INWindowRenderSurfaceHost, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
'Usage
 
Dim instance As NDrawingView
[System.ComponentModel.LicenseProvider(Nevron.Diagram.WinForm.NDWFLicenseProvider)]
[System.Drawing.ToolboxBitmap()]
[System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Nevron.Diagram.Editors.NDrawingViewDesigner, Nevron.Diagram.WinForm, Version=19.5.8.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48")]
[System.ComponentModel.DefaultProperty("Document")]
[System.Serializable()]
public class NDrawingView : NView, Nevron.Diagram.INHitTest, Nevron.Diagram.INInvalidatable, Nevron.Diagram.INMeasurementContext, Nevron.Diagram.INMeasurements, Nevron.Diagram.INMeasurementUnit, Nevron.Diagram.INMeasurementUnitConverter, Nevron.Diagram.INStyleable, Nevron.Diagram.INStyleComposer, Nevron.Diagram.INView, Nevron.Diagram.INVisible, Nevron.Diagram.INWorld, INStatusBarInfo, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INNode, Nevron.Dom.INNodeContainer, Nevron.Dom.INServiceProvider, Nevron.Globalization.INLocalizable, Nevron.GraphicsCore.INWindowRenderSurfaceHost, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
Remarks
The drawing view content layer is populated with trackers, which are the primary means for modifying different aspects of the shapes contained in the drawing document. Each tracker contains a set of handles, which the user can drag. The appearance of the trackers and the different types of handles is controlled by the NTrackersAppearance attribute, accessible from the TrackersAppearance property.

The drawing view exposes three useful components, which can help you to better position and align the document elements edited in the drawing view. These are - grid, horizontal ruler and vertical ruler. Common for them all is that their measurement unit can be different from the measurement unit of the document.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            Nevron.Diagram.WinForm.NView
               Nevron.Diagram.WinForm.NDrawingView
                  Nevron.Diagram.WinForm.NViewportPreview

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

Reference

NDrawingView Members
Nevron.Diagram.WinForm Namespace

Send Feedback