L_VecGetLayer

#include "lvkrn.h"

L_LVKRN_API L_INT L_VecGetLayer(pVector, pLayer, pLayerDesc)

const pVECTORHANDLE pVector;

pointer to a vector handle

const pVECTORLAYER pLayer;

pointer to a vector layer

pVECTORLAYERDESC pLayerDesc;

pointer to a structure

Gets layer information for the specified layer.

Parameter

Description

pVector

Pointer to the vector handle.

pLayer

Pointer to a VECTORLAYER structure that references the requested layer.

pLayerDesc

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

Returns

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

LVKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C API Help