Write text in the center of the new page

Product:PDFtron

Product Version:10.0

I want to write a text in the pdf. In pdf page, it should be divided into 9 sections i.e top-right, top center, top-left, middle-left, middle-center, middle-right, bottom-left, bottom-center, bottom-right. How can I write text in those sections in pdftron c#. If the text is very long then it should wrap the text.

Hi Sudhir,

You can do this using FreeText annotations, which have text wrapping on by default. Please take a look at the following guide:

Placing it specifically in one of the 9 quadrants you mentioned you will first need the dimensions of the page. You can do this by getting the cropbox. Then you simply divide the dimensions by 3 to get a quadrant (see the following GetCropBox() method in the Page class):
https://docs.apryse.com/api/PDFTronSDK/dotnet/pdftron.PDF.Page.html#pdftron_PDF_Page_GetCropBox

Let me know if you need any other help.