Nevron .NET Vision
Nevron.Diagram.Extensions Namespace / NCanvas Class
Properties Methods


In This Topic
    NCanvas Class Members
    In This Topic

    The following tables list the members exposed by NCanvas.

    Public Constructors
     NameDescription
    Public ConstructorCreates a new canvas associated with the specified drawing document  
    Top
    Public Properties
     NameDescription
    Public PropertyGets/sets the background color of the canvas (used to clear the canvas drawing surface)  
    Public PropertyGets/sets the drawing document associated with the canvas  
    Public PropertyGets/sets the padding applied to the document bounds (in document measurement unit)  
    Public PropertyGets/sets the global visibility settings which this canvas must use  
    Public PropertyGets/sets the graphics settings of the canvas  
    Public PropertyGets/sets the canvas layout  
    Public PropertyGets the scaling of world units to pixels  
    Public PropertyGets/sets the canvas resolution  
    Public PropertyGets/sets the world to view X scale  
    Public PropertyGets/sets the world to view Y scale  
    Public PropertyGets the X scaling of document scene units to pixels  
    Public PropertyGets the Y scaling of document scene units to pixels  
    Public PropertyGets the Scene to Device transformation  
    Public PropertyGets the Scene to World transformation  
    Public PropertyGets/sets the size of the canvas (in pixels)  
    Public PropertyGets the document viewport  
    Public PropertyGets/sets the document viewport origin  
    Public PropertyGets the document viewport size  
    Public PropertyGets the document window  
    Public PropertyGets/sets the window margins. The window margins deflate the window relative to the canvas size.  
    Public PropertyGets the document window origin  
    Public PropertyGets the document window size  
    Public PropertyGets the World to Device transformation  
    Public PropertyGets the World to View transformation  
    Top
    Public Methods
     NameDescription
    Public MethodComputes the total scene bounds, by appling a padding to the document bounds (in scene coordinates)  
    Public Method  
    Public MethodOverloaded. Performs the specified canvas layout  
    Public MethodFits the document inside the window (preserves the document aspect ratio)  
    Public MethodPaints the document to the specified device  
    Public MethodRenders the chart in the specified graphics  
    Public MethodResizes the canvas to fit the unscaled document bounds  
    Public MethodResizes the canvas to fit the specified document viewport  
    Public MethodStretches the document to fill the entire window (breaks the document aspect ratio)  
    Public MethodProportionally scales the document so that its height is equal to the window height (preserves the document aspect ratio)  
    Public MethodProportionally scales the document so that its height is equal to the window height (preserves the document aspect ratio)  
    Top
    Protected Methods
     NameDescription
    Protected MethodComputes the vieport size corresponding to the specified window size  
    Protected MethodCreates a new paint context attached to the specified device  
    Top
    See Also