VPE 7: TextBlock (Get)RangeHeight

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

VPE 7: TextBlock (Get)RangeHeight

Postby Brent Rose » Fri Jul 11, 2014 9:25 pm

Hi

Minor issue - the VCL TVPETextBlock function documented as "RangeHeight" is actually made public as "GetRangeHeight" (otherwise seems to function correctly as far as I have tested it).
Brent Rose
 
Posts: 50
Joined: Wed Mar 21, 2012 8:13 pm

Re: VPE 7: TextBlock (Get)RangeHeight

Postby IDEAL Software Support » Sat Jul 12, 2014 10:20 am

Thank you for the hint. The documentation is wrong. It should be GetRangeHeight(), because it is a method, not a property.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: VPE 7: TextBlock (Get)RangeHeight

Postby Brent Rose » Mon Jul 14, 2014 3:59 am

Also, documentation refers to WriteTextBlock returning the bottom position, but it is a procedure with no return value.
Brent Rose
 
Posts: 50
Joined: Wed Mar 21, 2012 8:13 pm

Re: VPE 7: TextBlock (Get)RangeHeight

Postby IDEAL Software Support » Mon Jul 14, 2014 11:06 am

Indeed. In this case the code-declaration for the components (.NET, ActiveX, VCL, Java) is wrong. For the DLL it is correct. Thank you for the hint.
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 9 guests