Page 1 of 1

To print simplegraph on a card with dimension precis

PostPosted: November 14th, 2005, 5:20 pm
by Mirage
Hello!
How to print simplegraph on a card of size precis with the possibility of making a background

:wink:
Thank you in advance

PostPosted: November 18th, 2005, 4:26 pm
by lbc
Hello Mirage
i think you should try to use for this purpose another great product by Kambiz that is TPrintPreview

Particularly you could investigate

TUnits = (mmPixel, mmLoMetric, mmHiMetric, mmLoEnglish, mmHiEnglish, mmTWIPS, mmPoints)
Determines how the control interprets the measurement values (e.g. paper size, margins, font's size, font's height, pen's size, ...)

mmPixel 1 unit = 1 pixel
mmLoMetric 1 unit = 0.1 millimeter
mmHiMetric 1 unit = 0.01 millimeter
mmLoEnglish 1 unit = 0.01 inch
mmHiEnglish 1 unit = 0.001 inch
mmTWIPS 1 unit = 1 twip = 1/20 point = 1/1440 inch
mmPoints 1 unit = 1 point = 1/72 inch


# function ConvertX(Value: Integer; InUnits, OutUnits: TUnits): Integer
Returns the conversion of a value specified by the Value parameter from the input unit specified by InUnits parameter to the unit specified by the OutUnits. The metod uses the horizontal resolution of the target device for the conversion.

# function ConvertY(Value: Integer; InUnits, OutUnits: TUnits): Integer
Returns the conversion of a value specified by the Value parameter from the input unit specified by InUnits parameter to the unit specified by the OutUnits. The metod uses the vertical resolution of the target device for the conversion.