CADLayoutName

  Functions >

CADLayoutName

Previous pageReturn to chapter overviewNext page

The CADLayoutName function returns the name of the specified layout.

 

Syntax:

 

int CADLayoutName(

  HANDLE hObject,

  DWORD nIndex,

  LPCSTR Name,

  DWORD nSize

);

 

 

Parameters:

 

hObject

Identifies the 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.

Name

Pointer to the buffer that contains the name of the layout after calling the CADLayoutName function.

nSize

Specifies the size of the buffer Name for a name of layout.

 

           

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  | CADLayout  | CADLayoutBox  | CADLayoutVisible  | CurrentLayoutCAD  | CADLayoutVisible


© 2003-2024 CADSoftTools

Go to CAD DLL