We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Form Filling : how change spacing between characters?

hi there,
 
I try to write data on PDFForm, i use Form Filling
I want to change
the spacing between characters of pdf.

                       
but I have not found the propriéte for creating spaces between characters.
I use
the following code :
 ---------------------------------------------
PdfLoadedTextBoxField txt = form.Fields[champ.Champ] as PdfLoadedTextBoxField;
txt.BorderColor = Color.SteelBlue;
txt.BackColor = new PdfColor(Color.AliceBlue);
txt.HighlightMode = PdfHighlightMode.Invert;
 txt.TextAlignment = PdfTextAlignment.Left;
System.Drawing.Font f = new System.Drawing.Font("Helvetica", 8f);
PdfTrueTypeFont txtfnt = new PdfTrueTypeFont(f, false);
txt.Font = txtfnt;
txt.Text = valeurs[i];
------------------------------------------------
You will find attached the document.
Best regards,


13.C.8452.1_7d206a9c.rar

3 Replies

PH Praveenkumar H Syncfusion Team September 2, 2013 04:06 AM UTC

Hi Hocine,

Thank you for using syncfusion products,

Please provide us the sample pdf with form fields. 
We will analyze and let you know the further details to fill the text field.

Please let us know if you have any concern.

With Regards,
Praveen


MW Michael Wheelaghan October 14, 2013 01:03 AM UTC

I have a support ticket open asking this also - can you provide the resolution to this issue?

I have tried to set A/V setting in Livecycle which is not interpreted by component, also manually spacing characters in a string (C#) is not accounting for whitespace.

Thanks




PH Praveenkumar H Syncfusion Team October 21, 2013 03:37 AM UTC

Hi Michael,

Thank you for using Syncfusion products,

Please provide us the sample input file which reproduces the issue.
It will help us to investigate further in this.

Please let us know if you need further assistance.

With Regards,
Praveen

Loader.
Live Chat Icon For mobile
Up arrow icon