|
GetImageViewPortX2 | ||
Xpos = GetImageViewPortX2(ImageIndex) | ||
Parameters: ImageIndex = The Image you wish to query |
||
Returns: Xpos = The coordinate of the images viewport |
||
GetImageViewPortX2 reads the X coordinate (bottom right) of the images viewport. FACTS: * By default an images viewport will be set to 0,0 - ImageWidth,ImageHeight * See ImageViewport for more information on image viewports * GetImageViewPortX2 can also be used to query the screens current viewport settings by using the image number of zero. See ScreenViewport for more information on screen viewports Mini Tutorial: Create an image, change it's viewport, and show the effects of the change.
This example would output.
|
Related Info: | GetImageViewPortX1 | GetImageViewPortY1 | GetImageViewPortY2 | ImageViewPort : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |