←Select platform

BringToFront Method

Summary

Brings the currently selected object(s) up in the Z-order.

Syntax

C#
VB
C++
public virtual void BringToFront( 
   bool first 
) 
  
Public Overridable Sub BringToFront( _ 
   ByVal first As Boolean _ 
)  
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

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.

Example

For an example, refer to CanBringToFront.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly