ImageGear .NET v25.2 - Updated
ToggleView(Int32,Boolean,Boolean) Method




ImageGear.Formats.Vector Assembly > ImageGear.Formats.CAD Namespace > ImGearDWGPage Class > ToggleView Method : ToggleView(Int32,Boolean,Boolean) Method
Index of View to toggle.
Whether or not to make View visible.
Whether or not to zoom given View to extents.
Toggle specified View
Syntax
'Declaration
 
Public Overloads Sub ToggleView( _
   ByVal index As Integer, _
   ByVal show As Boolean, _
   ByVal zoomExtents As Boolean _
) 
'Usage
 
Dim instance As ImGearDWGPage
Dim index As Integer
Dim show As Boolean
Dim zoomExtents As Boolean
 
instance.ToggleView(index, show, zoomExtents)
public void ToggleView( 
   int index,
   bool show,
   bool zoomExtents
)
public: void ToggleView( 
   int index,
   bool show,
   bool zoomExtents
) 
public:
void ToggleView( 
   int index,
   bool show,
   bool zoomExtents
) 

Parameters

index
Index of View to toggle.
show
Whether or not to make View visible.
zoomExtents
Whether or not to zoom given View to extents.
Remarks

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

Some DWG/DXF files are generated differently, and require zoomExtents to be true

See Also

Reference

ImGearDWGPage Class
ImGearDWGPage Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.