LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ClientRectangle Property
See Also 
Leadtools.Annotations Namespace > IAnnAutomationControl Interface : ClientRectangle Property



The ClientRectangle Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets a rectangle that represents the client area of the control.

Syntax

Visual Basic (Declaration) 
ReadOnly Property ClientRectangle As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As IAnnAutomationControl
Dim value As Rectangle
 
value = instance.ClientRectangle
C# 
Rectangle ClientRectangle {get;}
C++/CLI 
property Rectangle ClientRectangle {
   Rectangle get();
}

Property Value

A System.Drawing.Rectangle that represents the client area of the control.

Example

For an example, refer to IAnnAutomationControl.

Remarks

(Read only) A rectangle that represents the client area of the control. If your control is derived from the standard System.Windows.Forms.Control, then you do not need to implement this property (since the default System.Windows.Forms.Control.ClientRectangle will be used). However, you must trigger the IAnnAutomationControl.AutomationTransformChanged event with the value of the client rectangle is changed, in most cases, by calling IAnnAutomationControl.AutomationTransformChanged from your System.Windows.Forms.Control.SizeChanged event or System.Windows.Forms.Control.OnSizeChanged method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features