LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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

The BringToFront Method is available in LEADTOOLS Document and Medical Imaging toolkits.

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 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