Kerning and right aligned textareas with multiple lines does not seem to work as excpected. Will attach result-pdf to support as well...
Code-snippet:
Dim myCeteDoc As New ceTe.DynamicPDF.Document
Dim myNewPage As New ceTe.DynamicPDF.Page(ceTe.DynamicPDF.PageSize.A4)
Dim myRightTextArea As New ceTe.DynamicPDF.PageElements.TextArea("first line here" & ControlChars.CrLf & "second line here", 100, 200, 200, 200)
myRightTextArea.Align = ceTe.DynamicPDF.TextAlign.Right
myNewPage.Elements.Add(myRightTextArea)
Dim myRightTextAreaKerning As New ceTe.DynamicPDF.PageElements.TextArea("first line here" & ControlChars.CrLf & "second line here", 100, 250, 200, 200)
myRightTextAreaKerning.Align = ceTe.DynamicPDF.TextAlign.Right
myRightTextAreaKerning.KerningEnabled = True
Dim MyKerningValues As ceTe.DynamicPDF.Text.KerningValues = myRightTextAreaKerning.GetKerningValues
For i As Integer = 0 To MyKerningValues.Spacing.Length - 1
MyKerningValues.Spacing(i) = Short.Parse((MyKerningValues.Spacing(i) - 400).ToString)
Next
myNewPage.Elements.Add(myRightTextAreaKerning)
myCeteDoc.Pages.Add(myNewPage)
myCeteDoc.Draw("c:\temp\test.pdf")
Kerning and RightAlignment
Re: Kerning and RightAlignment
Support · Jan 9, 2013Hello,
We did some testing and were able to recreate the issue and have reported this to our developers. We will update the thread once we receive feedback from our developer.
Thanks,
ceTe Software Support Team.
Re: Kerning and RightAlignment
Support · May 22, 2013Hello,
The latest build available on the website has the fix for this issue. You can download it from the customer area
by logging in with the product serial number. If you are evaluating the product you can download the latest build here
. The latest build includes several bug fixes which could resolve this exception.
Thanks,
ceTe Software Support Team.