Category Drawings and detail, Object ProDrawing

Function ProDrawingViewScaleSet


Description
Sets the scale of a view. This function works for views displayed in the current window only.
Replacement in Object TOOLKIT: pfcView2D::Scale
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingViewScaleSet(
ProDrawing drawing
/* (In)
The drawing
*/
ProView view
/* (In)
The view
*/
double scale
/* (In)
The view scale. To set the view to use default scale, use PRO_DRAWING_SCALE_DEFAULT.
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_GENERAL_ERRORFailure

Manual References:

  1. Drawings: Modifying Views
  2. Drawings: Modifying Views

Sample Code References:

  1. pt_examples ( TestDrwView.c )