TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1Zoom Class / GetDisplayRectangle Method
The target control
Example

In This Topic
    GetDisplayRectangle Method (C1Zoom)
    In This Topic
    Get control visibility rectangle.
    Syntax
    'Declaration
     
    
    Public Function GetDisplayRectangle( _
       ByVal control As Control _
    ) As Rectangle
    public Rectangle GetDisplayRectangle( 
       Control control
    )

    Parameters

    control
    The target control

    Return Value

    A System.Drawing.Rectangle value that represents the control visibility area.
    Example

    The following code example shows how to use this method.

    This code example is part of a larger example provided for the Controls property.

    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