Graphisoft®

API Development KitVersion: 18

VectorImage::GetScale


Gives the current scale of the VectorImage.


long  GetScale (
    void
) const;

Return value

The current scale of the VectorImage.

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