ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Formats.CAD Namespace / CADCamera Class / ZoomExtents Method / ZoomExtents(Int32,Int32) Method
Width to set new ViewRect to.
Height to set new ViewRect to.




In This Topic
    ZoomExtents(Int32,Int32) Method
    In This Topic
    Zooms to fill ViewRect.
    Syntax
    'Declaration
     
    Public Overloads Sub ZoomExtents( _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) 
    'Usage
     
    Dim instance As CADCamera
    Dim width As Integer
    Dim height As Integer
     
    instance.ZoomExtents(width, height)
    public void ZoomExtents( 
       int width,
       int height
    )
    public: void ZoomExtents( 
       int width,
       int height
    ) 
    public:
    void ZoomExtents( 
       int width,
       int height
    ) 

    Parameters

    width
    Width to set new ViewRect to.
    height
    Height to set new ViewRect to.
    Remarks

    Zooms and sets ViewRect size to View given dimensions.

    See Also