Hi all.
im using Textcontrol version14. im able to add pagenumber to the Left top of the page and leftbottom of the page
but i want to give the two more options like center of the document and
right top and bottomright of the document.
but im not getting how to do it.....
any bady having idea?
here is my code
Private Sub insertHeader()
Dim pageField As New TXTextControl.PageNumberField(1, TXTextControl.NumberFormat.ArabicNumbers)
Form1.TC.HeadersAndFooters.Add(TXTextControl.Heade rFooterType.Header)
With Form1.TC.HeadersAndFooters.GetItem(TXTextControl.H eaderFooterType.Header)
If .Selection.Text = "" Then
'.Selection.Text = "Page of "
.Selection.Start = 5
.PageNumberFields.Add(pageField)
.Selection.Start = 9
.TextFields.Add(curpages)
End If
End With
Isheader = True
txInitialized = True
updatePageNumber()
End Sub
Im calling this procedure in button click event.