Nevron .NET Vision
Nevron.Chart.WebForm Namespace / NChartRenderSessionStateManager Class / CreateStateObject Method
The id of the new state.
A chart control to be stored into the state.


In This Topic
    CreateStateObject Method (NChartRenderSessionStateManager)
    In This Topic
    Creates a new state instance.
    Syntax
    'Declaration
     
    
    Protected Overrides Function CreateStateObject( _
       ByVal stateId As System.String, _
       ByVal imageControl As NImage _
    ) As NStateObject
    'Usage
     
    
    Dim instance As NChartRenderSessionStateManager
    Dim stateId As System.String
    Dim imageControl As NImage
    Dim value As NStateObject
     
    value = instance.CreateStateObject(stateId, imageControl)
    protected override NStateObject CreateStateObject( 
       System.string stateId,
       NImage imageControl
    )

    Parameters

    stateId
    The id of the new state.
    imageControl
    A chart control to be stored into the state.

    Return Value

    The state object.
    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