C_GetDefaultViewParameters

C_GetDefaultViewParameters gets the default view parameters for C_CreateModel3DViewBitmap, C_SaveModel3DViewBitmapMem and C_SaveModel3DViewBitmapToFile.

void C_GetDefaultViewParameters(

TOrcFxAPIHandle ModelHandle,

TViewParameters *lpViewParameters,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of a model. This is used to set the default values for the ViewSize, ViewAzimuth and ViewElevation and ViewCentre members of the the TViewParameters structure.

lpViewParameters (OUT)

Points to a structure in which the default view parameters will be returned.

Before calling C_GetDefaultViewParameters, set the Size member of the TViewParameters structure to sizeof(TViewParameters).

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

See Also

TViewParameters, C_CreateModel3DViewBitmap, C_SaveModel3DViewBitmapMem, C_SaveModel3DViewBitmapToFile.