←Select platform

AddLayer Method

Summary
Adds a layer to the container.
Syntax
C#
VB
Objective-C
C++
Java
publicvoidAddLayer(AnnLayerparentLayer,AnnLayerlayer)
PublicSubAddLayer( _ByValparentLayerAsAnnLayer, _ByVallayerAsAnnLayer_)
-(void)addLayer:(LTAnnLayer)parentLayerlayer:(LTAnnLayer)layer;
publicvoidaddLayer(AnnLayerparentLayer, AnnLayerlayer);
public:voidAddLayer(AnnLayer^parentLayer,AnnLayer^layer)

Parameters

parentLayer
Parent layer in the container. Passnullto add the layer to the root of the container

layer
The layer to add. Must not benull.

Remarks

UseLayerFromSelectedObjectsto create a layer from the currently selected objects.

UseDeleteLayerto delete a layer from the container.

Requirements

Target Platforms

Leadtools.Annotations.Automation Assembly
188金宝搏的网址客服|Support|Contact Us|Intellectual Property Notices
© 1991-2021LEAD Technologies, Inc.All Rights Reserved.