The CADVisible function determines whether the specified layer is visible or not.
Syntax:
int CADVisible(
HANDLE hObject,
LPCSTR lpLayerName
);
Parameters:
hObject  | 
Identifies the CAD drawing object handle.  | 
lpLayerName  | 
Points to a null-terminated string that specifies the layer name.  | 
Return Value:
If the specified layer is invisible, the return value is zero.
If the specified layer is visible or not exists, the return value is nonzero.
See Also
© 2003-2025 CADSoftTools
Go to CAD DLL