←Select platform

BringLayerToFront Method

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public void BringLayerToFront( 
   bool first 
) 
Public Sub BringLayerToFront( _ 
   ByVal first As Boolean _ 
)  
public void BringLayerToFront(  
   bool first 
) 
-(void)bringLayerToFront:(BOOL)first; 
public boolean bringLayerToFront(boolean first); 
             
 function Leadtools.Annotations.Automation.AnnAutomation.BringLayerToFront(  
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly