CImage:GetImagePtr


The GetImagePtr method returns a pointer to the Mira image wrapped by the Lua CImage object. This pointer is required by some methods in other classes that use a direct pointer to a Mira image.

Syntax

Pointer = CImage:GetImagePtr()

where

    Pointer is a pointer to the image wrapped by the CImage object.

    On success, this method returns a pointer to the image, not a CImage.

    On failure, this method returns nil.

Related Topics

CImage class

CImageView class