Nevron .NET Vision
Nevron.Diagram.WebForm Namespace / NDiagramSessionStateObject Class / NDiagramSessionStateObject Constructor / NDiagramSessionStateObject Constructor(String,Guid,INHttpHandlerCallback,NImageFormat,NDrawingDocument,NCanvas)
A guid that uniquely identifies the specific instance of the state of a web control.
A guid that uniquely identifies a specific image snapshot of the web control.
The http handler callback that is used when operating in Nevron Instant Callback mode.
The image format of the rendered image. Can be null for controls that do not generate an image.
The diagam document.
The virtual drawing surface, which can be used to render a drawing document.


In This Topic
    NDiagramSessionStateObject Constructor(String,Guid,INHttpHandlerCallback,NImageFormat,NDrawingDocument,NCanvas)
    In This Topic
    Initializes a new instance of the NDiagramSessionState class with given diagram document and canvas to draw images onto.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal stateId As System.String, _
       ByVal snapshotGuid As System.Guid, _
       ByVal httpHandlerCallback As INHttpHandlerCallback, _
       ByVal imageFormat As NImageFormat, _
       ByVal document As NDrawingDocument, _
       ByVal canvas As NCanvas _
    )
    'Usage
     
    
    Dim stateId As System.String
    Dim snapshotGuid As System.Guid
    Dim httpHandlerCallback As INHttpHandlerCallback
    Dim imageFormat As NImageFormat
    Dim document As NDrawingDocument
    Dim canvas As NCanvas
     
    Dim instance As New NDiagramSessionStateObject(stateId, snapshotGuid, httpHandlerCallback, imageFormat, document, canvas)

    Parameters

    stateId
    A guid that uniquely identifies the specific instance of the state of a web control.
    snapshotGuid
    A guid that uniquely identifies a specific image snapshot of the web control.
    httpHandlerCallback
    The http handler callback that is used when operating in Nevron Instant Callback mode.
    imageFormat
    The image format of the rendered image. Can be null for controls that do not generate an image.
    document
    The diagam document.
    canvas
    The virtual drawing surface, which can be used to render a drawing document.
    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