Hi,
I am writing a c# project and here i came into a situation. I need to write some text information on the right side of a PDF page at the bottom. This piece of text information should be placed in vertical form, like rotating to 90 degree, which may contains the information about a website and its services, etc. So, how can i get the text information be written in the bottom of PDF page vertically?
Not sure what approach is best here-could anyone enlighten me?
Have a good day!
This article on XsPDF.com is what you looking for, check out: How to add text on PDF page in C#.
Answers
This is similar to my situation. I have a PDF document which is created from a big image on the fly and saved as PDF. I want to place some text information vertically into this PDF document.
So, at the very beginning, i am using DrawText method, but this method does not allow me to control the text orientation. I have to make the text vertical to 90 degree. So, searched a lot. Tried other two methods to rotate but without any luck....For instance, i tried with XFont class. But rotation is not an XFont property. Finally, i got the answer, which i should try with "RotateTransform" that is designed to draw rotated text on PDF document. To be more specific, transformations of the gfx apply to anything that is drawn, not only images but text.
Again, try with "RotateTransform", and you can draw rotated text and modify to move the text on the right side and below... Hope you a good luck!