Printing pictures rightadjusted

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Printing pictures rightadjusted

Postby Bengt » Mon Sep 24, 2007 10:44 pm

Text can easily be printed right-adjusted by use of
VpeSetTextAlignment VPE_ALIGN_RIGHT.
I would need a simililar possibility that could be used when pictures are printed, but I haven't found any. Have I overlooked something?
/Bengt
Bengt
 
Posts: 89
Joined: Fri Jan 27, 2006 5:29 pm

Postby IDEAL Software Support » Tue Sep 25, 2007 5:27 pm

You can use RenderPicture() to compute the width and height of an image without inserting it into a document. After that you can position the image accordingly as desired.

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 37 guests