Graphisoft®

API Development KitVersion: 18

VectorImage::SetScale


Sets the current scale of the VectorImage.


GSErrCode  SetScale (
    long scale
);

Parameters

scale
The desired scale.

Return value

If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.

Description

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.

Requirements

Version:API 10.0 or later, ModelerGraphics 8 or later
Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
Header:VectorImage.hpp