Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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
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
)
Managed Extensions for 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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