ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Formats.CAD Namespace / ImGearDGNPage Class / SetActiveView Method / SetActiveView(String) Method
Name of view to set as Active




In This Topic
    SetActiveView(String) Method
    In This Topic
    Sets the View by name.
    Syntax
    'Declaration
     
    Public Overloads Sub SetActiveView( _
       ByVal viewName As String _
    ) 
    'Usage
     
    Dim instance As ImGearDGNPage
    Dim viewName As String
     
    instance.SetActiveView(viewName)
    public void SetActiveView( 
       string viewName
    )
    public: void SetActiveView( 
       string* viewName
    ) 
    public:
    void SetActiveView( 
       String^ viewName
    ) 

    Parameters

    viewName
    Name of view to set as Active
    Remarks

    If the View is not found, then this page does not change, and a ImageGear.Core.ImGearException is thrown.

    If the View you are trying to set as active has no name, you must set it by index. Use SetActiveView(Int32).

    See Also