Alignement and picture

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Alignement and picture

Postby simonlec » Mon Apr 04, 2011 4:13 pm

Hi,
Is it possible to center a picture with a command like vpe.textalignement = ALIGN_CENTER?
simonlec
 
Posts: 32
Joined: Wed Jul 30, 2008 6:50 pm

Re: Alignement and picture

Postby IDEAL Software Support » Mon Apr 04, 2011 4:24 pm

Use RenderPicture() to compute the dimensions of a picture. Afterwards you can place it centered by computing the desired left coordinate.
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 67 guests