To print simplegraph on a card with dimension precis

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

To print simplegraph on a card with dimension precis

Postby Mirage » November 14th, 2005, 5:20 pm

Hello!
How to print simplegraph on a card of size precis with the possibility of making a background

:wink:
Thank you in advance
User avatar
Mirage
Junior Member
Junior Member
 
Posts: 44
Joined: October 26th, 2005, 11:41 am

Postby lbc » November 18th, 2005, 4:26 pm

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.
lbc
Junior Member
Junior Member
 
Posts: 48
Joined: February 4th, 2004, 7:50 am
Location: Italy


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron