SetCADBorderSize

  Functions >

SetCADBorderSize

Previous pageReturn to chapter overviewNext page

The SetCADBorderSize function sets width of the border around the loaded image.

 

Syntax:

 

int SetCADBorderSize(

  HANDLE hObject,

  int BSize

);

 

 

Parameters:

 

hObject

Identifies the CADImage object handle

BSize

Specifies width of the border.

 

 

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.

 

 

Note:

Set BSize as integer value, if the second parameter of SetCADBorderType is Global. In this case the border width is defined in global units.

Set BSize as double value less than 1, if the second parameter of SetCADBorderType is Ratio. In this case theborder width is defined in percents respectively to the drawing size.

 

 

See Also

CADCreate  | GetCADBorderSize


© 2003-2021 CADSoftTools

Go to CAD DLL