←Select platform

BringLayerToFront Method

Summary

Brings the currently selected layer up in the Z-order.

Syntax
C#
VB
Objective-C
C++
Java
public void BringLayerToFront( 
   bool first 
) 
Public Sub BringLayerToFront( _ 
   ByVal first As Boolean _ 
)  
-(void)bringLayerToFront:(BOOL)first; 
public boolean bringLayerToFront(boolean first); 
public:  
   void BringLayerToFront( 
      bool first 
   ) 

Parameters

first
true to bring the layer to the top of the Z-order; false to bring the layer one level up only

Remarks

Use this method with first set to true to bring the layer to the top of the Z-order, and set first to false to bring the layer up one level.

You can determine whether you can bring the layer up or to the top by calling the CanBringLayerToFront and CanBringLayerToFirst properties, respectively.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly