CADLayerVisible

  Functions >

CADLayerVisible

Previous pageReturn to chapter overviewNext page

The CADLayerVisible function sets layer visible or invisible.

 

Syntax:

 

int CADLayerVisible(

  HANDLE  hObject

  int visible

);

 

 

Parameters:

 

hObject

Identifies a layers handle.

visible

Set to zero to hide layer and to nonzero to show the layer.

 

 

Return Value:

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.

 

 

See Also

CADCreate  | CADLayer  | CADLayerCount


© 2003-2021 CADSoftTools

Go to CAD DLL