CADLayoutCurrent

  Functions >

CADLayoutCurrent

Previous pageReturn to chapter overviewNext page

The CADLayoutCurrent function returns the index of the current layout in the CAD file.

 

Syntax

 

int CADLayoutCurrent(

  HANDLE hObject,

  intnIndex,

  bool bDoChange

);

 

 

Parameters

 

hObject

Identifies a handle to the CAD drawing.

nIndex

Specifies the layout number.

bDoChange

Specifies whether current layout has to be redrawn.

If bDoChange is set as TRUE, then it will display the layout specified by nIndex.

If bDoChange is set as FALSE, then no changes happens.

 

 

Return Value

If the function succeeds, the return value is equal to ‘1’.

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

 

 

See Also

CADCreate  | CADLayout  | CADLayoutBox  |   CADLayoutName  | CADLayouVisible


© 2003-2024 CADSoftTools

Go to CAD DLL