Set PENSIZE with embedded Flags not works

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Set PENSIZE with embedded Flags not works

Postby Frigyes » Mon Sep 10, 2007 10:09 am

VPE 4.0

I try to change the PEN Size with embedded flags,
but this not works for me,
what's wrong?

Code: Select all
 
   VpePrintBox(hDoc, 1, 1, "[PS 1 PC RED] hello");    //works
   VpePrintBox(hDoc, 1, 2, "[PS 2 PC BLACK] hello");  //PS not changed

   VpeSetPenSize(hDoc, 0.03);
   VpePrintBox(hDoc, 1, 3, " hello");                  //works

   VpePrintBox(hDoc, 1, 4, "[PS 4 PC BLACK] hello");   //PS only 1
   VpePrintBox(hDoc, 1, 5, "[PS 0 PC BLACK] hello");   //works



TIA
Frigyes
Frigyes
 
Posts: 26
Joined: Thu Jun 29, 2006 12:09 pm

Postby IDEAL Software Support » Tue Sep 11, 2007 10:05 am

You found a bug in the new v4.0. The value for the pen size is not converted to the new unit system. This will be fixed with the next release, available in a few days.

Note: when you use "PS 1" after the bugfix, this will mean that the pen size is one centimeter, one inch, or 1/10mm - depending on the setting of the property UnitTransformation.

You will be able to specify double values as well, e.g. "PS 0.001".

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

Postby IDEAL Software Support » Fri Sep 21, 2007 5:53 pm

VPE v4.0 R1 has been released today, which fixes the bug.
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 87 guests