HOW TO: Print Rectangle?

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

HOW TO: Print Rectangle?

Postby vpe88 » Fri Aug 10, 2012 10:46 am

Hi experts,

I'm running in DotNet 2010 with VPE v6.10 Professional.

I normally print horizontal lines with .Line(double Left, double Top, double Right, double Bottom) to PDF.
How can I actually print Rectangle?

Thanks in advance!
vpe88
 
Posts: 11
Joined: Thu Jun 16, 2011 10:50 am

Re: HOW TO: Print Rectangle?

Postby IDEAL Software Support » Sat Aug 11, 2012 5:02 am

A rectangle is drawn with the method Box(). To draw a rectangle that is not filled with a color (or hatching), set BkgMode = BkgMode.Transparent before calling the Box-method. The thickness of the lines is controlled with the property PenSize.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: HOW TO: Print Rectangle?

Postby vpe88 » Mon Aug 13, 2012 11:00 am

Yes, it works.
Thank you!
vpe88
 
Posts: 11
Joined: Thu Jun 16, 2011 10:50 am


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 17 guests