Export to PDF problem

Stimulsoft Reports.NET discussion
Post Reply
spv123
Posts: 26
Joined: Mon Oct 02, 2006 8:07 am
Location: Sheffield, UK

Export to PDF problem

Post by spv123 »

I have a stimulsoft form that has a number of fields that are simply variables. These variables often have spaces at the front. Stimulsoft appears to remove the leading spaces which is causing me problems (I believe this is a problem with GDI+). Therefore, I have inserted a chr(31) at the front of the variable where there are leading spaces. This character works fine on printed and previewed reports as it doesn't show and the spacing is unaffected.

However, if I export a report to pdf, the chr(31) is displayed as a little square box, and it is not included in the size calculation for the field as the right had end of the text is "clipped".

I'm therefore looking for a solution - either where I can use leading spaces in variables, or find a character that is invisible both on printing, previews and PDF's or some alternative solution!

Thanks in advance
Simon
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Export to PDF problem

Post by Vital »

Problem with chr(13) fixed in build from 4 Jan.

Thank you.
Post Reply