GetPictureSize
MethodGetPictureSize (Method)
Returns the width and the height (in drawing units) of the picture that is in a specific picture file
Syntax:
Function GetPictureSize(sPictureFile As String, aWidth As Single, aHeight As Single) As Boolean
The GetPictureSize method syntax consists of the following:
Parameter |
Data Type |
Description |
sPictureFile |
String |
The name of the picture file |
aWidth |
Single |
The width of the picture into drawing units |
aHeight |
Single |
The height of the picture into drawing units |
Return value:
Boolean - True on success, false on error.