CADLayoutVisible

  Functions >

CADLayoutVisible

Previous pageReturn to chapter overviewNext page

The CADLayoutVisible function gets or sets the value that specifies whether the layout is visible or not. The layout is specified by its index.

 

Syntax:

 

BOOL CADLayoutVisible(

  HANDLE hObject,

  int nIndex,

  bool bSetVisible,

  bool bNewValue

);

 

 

Parameters:

 

hObject

Identifies the opened CAD drawing object handle.

nIndex

Specifies the index of the hObject in the layout table. Its value should be greater than or equal to zero and less then or equal to the value returned by CADLayoutCount minus 1.

bSetVisible

Defines whether bNewValue has to be used. If bSetVisible is TRUE, then the layout specified by nIndex is equal to bNewValue. If bSetVisible is FALSE,  then bNewValue is ignored.

bNewValue

Sets the layout specified by nIndex as visible or invisible. If bNewValue is TRUE, then layout is set visible. If bNewValue is FALSE, it is set invisible.

   

 

Return Value:

Returns current status of the specified layout:

If returned value is TRUE, layout specified by nIndex is visible.

If returned value is FALSE, layout specified by nIndex is invisible.

 

 

See Also

CADCreate  | CADLayout  | CADLayoutBox  | CADLayoutCurrent  | CADLayoutName


© 2003-2021 CADSoftTools

Go to CAD DLL