L_VecGetLayerByName

#include "ltvkrn.h"

L_LTVKRN_API L_INT L_VecGetLayerByName(pVector, pszName, pLayer)

Gets the layer with the specified name, in the specified vector handle.

Parameters

const pVECTORHANDLE pVector

Pointer to the vector handle.

const L_TCHAR * pszName

Character string that contains the name of the layer to get.

pVECTORLAYER pLayer

Pointer to a VECTORLAYER structure to be updated with the layer handle, if the layer is found.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

If two or more layers in a vector handle have the same name, this function will get the first layer found.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_VecDeleteLayer.

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

LEADTOOLS Vector C API Help