The IsotropicPosition function returns the coordinate and size of the image to correctly place the image on a parent image, considering the hotspot and reality factor of the image relative to the reality factor of the parent image.
|
Syntax | ||||
|
IsotropicPosition(ParentImage, PosLeft, PosTop, CoordinateSource, Dimension, xPixel, yPixel, wPixel, hPixel [, LanguageID]) | ||||
|
Return value | ||||
|
Type |
Description | |||
|
Long |
0 if successful | |||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
ParentImage |
Picture |
ByVal |
Picture variable with the parent image |
|
Required |
PosLeft |
Double |
ByVal |
Left position of the hotspot of the parent image to arrange the image around it. |
|
Required |
PosTop |
Double |
ByVal |
Top position of the hotspot of the parent image to arrange the image around it. |
|
Required |
CoordinateSource |
CoordinateSources |
ByVal |
Used coordinate system |
|
Required |
Dimension |
DimensionUnits |
ByVal |
Used dimension units |
|
Required |
xPixel |
Double |
ByRef |
Left position of the upper left corner of the image |
|
Required |
yPixel |
Double |
ByRef |
Top position of the upper left corner of the image |
|
Required |
wPixel |
Double |
ByRef |
Width of the image |
|
Required |
hPixel |
Double |
ByRef |
Height of the image |
|
Optional |
LanguageID |
String |
ByVal |
Language-ID of the value |