Print Page | Close Window

FlattenFormField

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1563
Printed Date: 28 Jan 26 at 4:44AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: FlattenFormField
Posted By: avia
Subject: FlattenFormField
Date Posted: 08 Sep 10 at 7:25AM
after filling Edit boxs with hebrew text

FlattenFormField make the hebrew letters unreadable

sample :

QP.SetOrigin(1);

// Add the first new form field

var iDf1 = QP.NewFormField("First Name", 1);

QP.SetFormFieldValue(iDf1, "ציון");  //hebrew text in form field

QP.SetNeedAppearances(1);

QP.SetFormFieldBounds(iDf1, 20, 20, 100, 20);

QP.SetFormFieldAlignment(iDf1, 2);

TotalFormFields = QP.FormFieldCount();

// Loop through each of the form fields and

// delete them using the DeleteFormField function

while (TotalFormFields > 0)

{

QP.FlattenFormField(TotalFormFields);

TotalFormfields = TotalFormFields--;

}

QP.SaveToFile(GetOutputFolder() + "new_pdf_form.pdf");

i think the problem is with the font



Replies:
Posted By: Ingo
Date Posted: 08 Sep 10 at 8:49AM
Hi Avia!

Please search in the knowledgebase of www.quickpdflibrary.com
with searchstrings like "hebrew" and / or "unicode".
Try this one (and many other ones):
http://help.quickpdflibrary.com/questions/295/hebrew-in-form-fields
http://help.quickpdflibrary.com/questions/538/chinese-characters-and-subsetted-fonts

Cheers and welcome here,
Ingo



Posted By: avia
Date Posted: 08 Sep 10 at 9:03AM
this post dont answer the question and the links you gave me dont help !!
i still dont know how to create the font for the editbox so when i Flatten the field it
the hebrew letters are still dont show currectly.
i tried with subset font and string too.
 
avi almog.


Posted By: Ingo
Date Posted: 08 Sep 10 at 9:43AM
Hey!

What's this?
You was already forum member in 2006/2007.
...With very similar questions :-))
I fear your questions won't solve here in the user-user-forum.
You should post your probs on the official support pages of Debenu.

Cheers,
Ingo



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk