Graphisoft®

GX ModuleVersion: 16

GetWidth

Gives the back the pixel width of the image.

    UInt32 GetWidth (
        bool scaleByDPI
) const;

Parameters

scaleByDPI
If you want to scale the width of the image by DPI, pass true in this parameter. The default value is false.

Return Values

If the function succeeds, the return value is the width of the image. If the function fails, the return value is the 0.

Requirements

Version:
GX
Header:
GXImage.hpp
Import Library:
GXImage.lib
Module:
GXImage.dll [WIN], GXImage.framework [MAC]

See Also

GXImage class