character spacing / Pitch

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

character spacing / Pitch

Postby Lanzendörfer » Wed Apr 13, 2016 11:52 am

Is it possible to change character spacing like in Word with Schriftart / Erweitert / Abstand von nnn Pt. ?
Lanzendörfer
 
Posts: 6
Joined: Wed Jun 04, 2008 4:19 pm

Re: character spacing / Pitch

Postby IDEAL Software Support » Thu Apr 14, 2016 8:13 am

See the property CharPlacement (requires the Professional Edition or higher).
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Re: character spacing / Pitch

Postby Lanzendörfer » Thu Apr 14, 2016 4:34 pm

As I understand does Vpe print the Charakters in boxes of wanted same length.
But with proportional font does Word for the text iiiWWW enlarge with a wanted Faktor the length of the smaler letter and the broader letter W - which results in a broader 'boxes' for W then for i..
Is this possible with VPE?
Lanzendörfer
 
Posts: 6
Joined: Wed Jun 04, 2008 4:19 pm

Re: character spacing / Pitch

Postby IDEAL Software Support » Tue Apr 19, 2016 10:35 pm

This is not directly possible. But you can write your own code to achieve that. Simply render the width of each character of a string, and output the next character a bit more to the right.
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 6 guests

cron