L_VecGetLayerByName

Summary

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

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_INT L_VecGetLayerByName(pVector, pszName, pLayer)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.