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

Can I draw something in the margin of one PDF document?

Hi,

I am using Syncfusion Version : 8.1.0.30.

If there is a pdf document which's size is (height=200), and I set the margin of one PDF document to be:
Left:50
Top:50
Right:50
Bottom:50,
Can I draw the something like some strings in the margin area? In other words, can I draw a string at this position (xxxx,180)? If yes, how can I do? If not, is there any replacement?

Thanks very much.


1 Reply

GM Geetha M Syncfusion Team March 7, 2011 10:34 AM UTC

Hi Kenneth,

Thank you for your interest in Syncfusion products.

It is not possible to draw inside the margins. To achieve a similar output, you may set Margins to 0 and draw the string in using PdfPageTemplateElement which will apply to all the pages. Please refer to the sample in the following link:

F98516-795424042.zip

Please try this and let me know if you have any questions.

Regards,
Geetha


Loader.
Live Chat Icon For mobile
Up arrow icon