ComponentOne VSView 8.0
CalcPicture Property

Calculates the size of a picture, in twips, and returns results in X1, Y1, X2, and Y1.

Syntax

[form!]VSPrinter.CalcPicture = Picture

Remarks

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).

Data Type

Picture

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback