How to Start Convert PDF Work with PDF Modules PDF Document PDF Pages Text Image Graph & Path Annotation, Markup & Drawing Redaction Security Digital Signature Forms Watermark Bookmark Link File Attachment File Metadata Printing Work with Other SDKs Barcode read Barcode create OCR Twain

PDF Annotation VB.NET Library
How to Annotate Text on PDF Page in VB.NET


Professional VB.NET Solution for Adding Text Annotation to PDF Page in VB.NET









Look for HTML5 PDF Editor?

EdgePDF: ASP.NET PDF Editor is the best HTML5 PDF Editor and ASP.NET PDF Viewer based on XDoc.PDF, JQuery, HTML5. It supports ASP.NET MVC and WebForms projects.


Add Annotation – Add Text Overview



Adding text is the most direct method to add or supplement information on current PDF page. RasterEdge XDoc.PDF SDK provides this annotation functionality to help VB.NET users add any texts to any position on PDF pages.

PDF viewer, editor control for asp.net control: asp.net pdf viewer control, show image asp.net c#, mvc pdf viewer, preview pdf in asp.net mvc, pdf editor in asp.net mvc, asp net add text to pdf, free asp.net tiff viewer.

Since RasterEdge XDoc.PDF SDK is based on .NET framework 2.0, users are enabled to use it in any type of a 32-bit or 64-bit .NET application, including ASP.NET web service and Windows Forms for any .NET Framework version from 2.0 to 4.5.





How to VB.NET: Add Text to PDF Page



This is a piece of VB.NET demo code to add text annotation to PDF page.




Dim inputFilePath As String = Program.RootPath + "\\" + "2.pdf"
Dim outputFilePath As String = Program.RootPath + "\\" + "Annot_11.pdf"

' open a PDF file
Dim doc As PDFDocument = New PDFDocument(inputFilePath)
' get the 1st page
Dim page As PDFPage = doc.GetPage(0)

' create the annotation
Dim annot As PDFAnnotText = New PDFAnnotText()

annot.Boundary = New RectangleF(400.0F, 500.0F, 300.0F, 80.0F)

annot.Content = "This is a text annotation"

' add annotation to the page
PDFAnnotHandler.AddAnnotation(page, annot)

' save to a new file
doc.Save(outputFilePath)