CADLayout

  Functions >

CADLayout

Previous pageReturn to chapter overviewNext page

The CADLayout function returns handle of a specified layout.

 

Syntax:

 

HANDLE CADLayout(

  HANDLE hObject,

  int nIndex

);

 

 

Parameters:

 

hObject

Identifies an opened CAD drawing object handle.

nIndex

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

 

       

Return Value:

If the function succeeds, the return value is a handle of layer object specified by nIndex.

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

 

 

See Also

CADCreate  | CADLayoutBox  | CADLayoutName  | CADLayoutsCount  | CADLayoutVisible  | CurrentLayoutCAD  | DefaultLayoutIndex


© 2003-2024 CADSoftTools

Go to CAD DLL