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(
nIndex=nil )
|
- The optional parameter nIndex is the image
to select, in the range 1 to Count.
- If nIndex is not
specified or is nil,
the current image is selected.
- pointer is the C++ pointer to the
image.
- On success, this method returns the image pointer.
- On failure, this method returns nil.
Related Topics
CImageView, CImage, GetImage