L_VecGetLayer

Summary

Gets layer information for the specified layer.

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_INT L_VecGetLayer(pVector, pLayer, pLayerDesc)

Parameters

const pVECTORHANDLE pVector

Pointer to the vector handle.

const pVECTORLAYER pLayer

Pointer to a VECTORLAYER structure that references the requested layer.

pVECTORLAYERDESC pLayerDesc

Pointer to a VECTORLAYERDESC structure to be updated with the layer information if the layer is found.

Returns

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

Comments

When pLayerDesc is no longer needed, L_VecFreeLayer should be called to free any resources associated with the VECTORLAYERDESC structure.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_VecCopyLayer.

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.