CImageView:GetImagePtr


The GetImagePtr method returns a pointer to an image in the CImageView (i.e., in the image view window). In comparison, GetImage returns a CImage object for the same image pointer.

Syntax

pointer = CImageView:GetImagePtr()

pointer = CImageView:GetImagePtr( nIndex )

where

    nIndex is the index of the CImage to select, in the range 1 to Count. If not specified, the current CImage is selected.

    pointer is the pointer to the image. On failure, nil is returned.

Related Topics

GetImage

CImageView class

CImage class