Image Borders

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Image Borders

Postby IDEAL Software Support » Tue Nov 23, 2004 3:02 pm

I am starting out to learn VPE and I have a question concerning the display of images or pictures. When I do just a simple report to just show a BMP image, I am getting a border around the image. How do I tell VPE not to print the border?

Here is my code:

Report.OpenDoc;
Report.KeepBitmapAspect := True;
Report.Picture(100,100,300, VFREE, 'C:\Logos\STD1.BMP',0);
Report.Preview;

Thanks,

David Alge
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Tue Nov 23, 2004 3:02 pm

David,

Set the pen size to zero before calling VPEPICTURE.
This will suppress the frame.

Regards

Len Doust
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Tue Nov 23, 2004 3:03 pm

This is the number one question. :D

Set PenSize = 0 before calling Picture().

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1621
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

cron