←Select platform

BringLayerToFront Method

Summary

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

Syntax
C#
VB
Java
Objective-C
C++
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.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly