The methods defined in the Picture class are summarized in the following table.
Method | Description |
---|---|
getScrollRange | Returns the scroll range information for the window |
pictureHeight | Returns the height (in pixels) of the current image in the Picture control |
pictureType | Returns the type of picture loaded into a picture control |
pictureWidth | Returns the width (in pixels) of the current image in the Picture control |
play | Starts cycling through the pictures in an array with a pause between the display of each picture in the array |
setPicture | Sets the specified index entry of an array of pictures for the control |
setScrollRange | Enables control of the scroll ranges |
startDrawingCapture | Enables drawing on a Picture control with the mouse |
stop | Stops the current animation process started by the play method |
stopDrawingCapture | Disables drawing on a Picture control with the mouse |
useImage | Sets the image to be displayed without creating a copy of the image in transient cache |
For details, see "Window, Form, and Control Methods", later in this document.