greetings,
i am new to dynamic pdf and am have a couple of newbie questions regarding reportwriter and designer.
the first problem i am having is with object alignment in the rendered pdf. in designer i am using the snap to grid option. i have a right aligned label and a left aligned record area - both of which are using the same font, font size, and valign options. the two objects appear to be aligned properly in the designer, yet in my rendered pdf, the value in the record area is shifted slightly downward. what am i doing wrong here?
the second problem is with underscore characters in field names. i have a record area in which i add a field name (like '#field_name#'). this causes an index out of range exception with a reference to the first portion of my field name ('field'). Is there someway around this?
appreciate the help,
greg
alignment and fieldnames
Re: alignment and fieldnames
Forum member · Jan 9, 2008OK, I didnt do a very good job searching the forums before posting my questions. I found that I need to enclose fields with underscores in brackets -e.g. [field_name]. This takes care of my first problem. The second remains.
Thanks...
Re: alignment and fieldnames
Support · Jan 9, 2008Hey Greg,
Well it doesn't sound like you are doing anything incorrect. Using snap to grid (just for kicks maybe drag the Label and the RecordArea around just to make sure they are in fact snapping) with the same font and font size, one left aligned and the other right aligned sounds like it would yield level results.
I did just set up a report to test it with. In my test I could not notice any difference at all between the Y-position of the right aligned Label or the left aligned RecordArea. The first thing I would recommend is that you download and reference the very latest Designer version and DynamicPDF dll Build. If you are evaluating our products just download the latest version from the download page
. or if you have a serial number you can download the latest build from the Customer Area, http://www.DynamicPDF.com/customerarea
.
If however you get the latest build (or already have the latest) and you are still seeing the problem then please send the actual DPLX file along with the output PDF over to our support team, [^a|mailto:support@cete.com|support@cete.com^] so we can see exactly what is going on.
Thanks,
ceTe Software Support Team
Re: alignment and fieldnames
Forum member · Jan 10, 2008I managed to figure this out as well... apparently it was related to the 'leading'. It seems labels and record areas behave differently in this regard.
Re: alignment and fieldnames
Support · Jan 10, 2008You are correct, the issue was related to the 'leading' value and how that was being handled internally. This has now been recognized and addressed and we have an unreleased beta build that resolves it. Please email us directly at [^a|mailto:support@cete.com|support@cete.com^] for a copy of this build.
Thanks,
ceTe Software Support Team