Dear Sir
I want to insert a formfield in my document with a specific font and in some case put a text before it .I could do it by code below but not completely.First of all the font property doesn't work and second the text doesn't insert before formfield.
Here is piece of my code,Please tell me why it doesn't work very well?
Thanks
Mehi Mokhtari
builder.MoveToSection(m_document.IndexOf(objsection))
newField = builder.InsertTextInput("Subject", Fields.TextFormFieldType.RegularText, "", "", 0)
newField.TextInputType = Fields.TextFormFieldType.RegularText
newField.Font.Size = PrpFontSize
newField.Font.SizeBi = PrpFontSize
newField.Font.NameBi = PrpFontName
newField.Font.Name = PrpFontName
newField.Name = "Subject"
newField.Font.Bidi = True
newField.Result = " تاتاتاات"
newField.Enabled = Enabled
If WithText Then
Dim Run As New Run(m_document)
Run.Text = "موضوع : "
Run.Font.NameBi = PrpFontName
Run.Font.Name = PrpFontName
Run.Font.Size = PrpFontSize
Run.Font.SizeBi = PrpFontSize
Run.Font.Bidi = True
objsection.Body.Paragraphs(0).InsertBefore(Run, newField)
End If