Control Reference > VSPrinter Control > VSPrinter Properties > CalcPicture Property |
Calculates the size of a picture, in twips, and returns results in X1, Y1, X2, and Y1.
[form!]VSPrinter.CalcPicture = Picture
You can use this property to determine whether a picture will fit on the current page, or to position graphical elements with respect to the picture.
To render the picture, use the DrawPicture method or the Picture property.
Note: Picture objects have Width and Height properties that return their dimensions in HIMETRIC units (0.01mm). You may prefer to use these properties instead of the CalcPicture property. If you do, remember that to convert from HIMETRIC to twips, you need to multiply by (1440 / 2540). |
Picture