Sets the current scale of the VectorImage.
GSErrCode SetScale ( long scale );
- The desired scale.
If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.
The VectorImage contains elements interpreted in model space therefore it is totally zoom(magnification)-independent and mostly scale-independent. The scale is the ratio between the model space and the paper space. The scale comes into the picture where the VectorImage stores paper space values typically text sizes.
- Version:API 10.0 or later, ModelerGraphics 8 or later
- Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)