Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Bounds Property
See Also 
Leadtools.Annotations Namespace > AnnTextRollupObject Class : Bounds Property



Gets or sets the bounding rectangle for this AnnTextRollupObject object.

Syntax

Visual Basic (Declaration) 
Overrides Public Property Bounds As AnnRectangle
Visual Basic (Usage)Copy Code
Dim instance As AnnTextRollupObject
Dim value As AnnRectangle
 
instance.Bounds = value
 
value = instance.Bounds
C# 
public override AnnRectangle Bounds {get; set;}
C++/CLI 
public:
property AnnRectangle Bounds override {
   AnnRectangle get();
   void set (AnnRectangle value);
}

Return Value

The bounding rectangle for this AnnTextRollupObject object.

Example

For an example, refer to AnnTextRollupObject.

Remarks

The AnnTextRollupObject class overrides this property to return the original bounding rectangle, if this object is expanded. If this object is not expanded, the bounding rectangle is shrunk to fit only one line of text. To expand or roll up this object, set the Expanded property.
For more information, refer to Using Text in Annotation Object.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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