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



first
true to bring the object(s) to the top of the Z-order; false to bring the object(s) one level up only
first
true to bring the object(s) to the top of the Z-order; false to bring the object(s) one level up only
Brings the currently selected object(s) up in the Z-order.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub BringToFront( _
   ByVal first As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
Dim first As Boolean
 
instance.BringToFront(first)
C# 
public virtual void BringToFront( 
   bool first
)
C++/CLI 
public:
virtual void BringToFront( 
   bool first
) 

Parameters

first
true to bring the object(s) to the top of the Z-order; false to bring the object(s) one level up only

Example

For an example, refer to CanBringToFront.

Remarks

Use this method with first set to true to bring the object(s) to the top of the Z-order, and set first to false to bring the object(s) up one level. You can determine whether you can bring the objects up or to the top by calling the CanBringToFront and CanBringToFirst properties, respectively.

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