
Take a moment to peruse the documentation, where you can find other options like drawing right-to-left text and multi-column text, consuming TrueType fonts, Standard fonts, CJK fonts. Graphics.DrawString("Rotated by 90 degree", font, brush, New PointF(20, 20))Ī complete working sample can be downloaded from Rotate-pages-in-a-PDF-file.zipīy executing the program, you will get the PDF document as follows. = PdfPageRotateAngle.RotateAngle90ĭim page As PdfPage = ()ĭim graphics As PdfGraphics = page.Graphicsĭim brush As PdfBrush = New PdfSolidBrush(Color.Black)ĭim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14)


Using document As PdfDocument = New PdfDocument()ĭim section As PdfSection = ()
