Text overlay to PDF sample

Here is my simple requirement.  Artwork design file from Graphics Dept sending to Production Dept. It is a pdf file from Adobe AI tool and will be the source file for Essential PDF Overlay.  In Production Dept, we have a web screen that allow the user to select the pdf source file and insert some descriptions into textboxes.  Essential PDF Overlay will be programmed to at the descriptions into the pdf source file at the bottom of the PDF. 

The Syncfusion sample is PDF overlay to PDF. My case is more like Text overlay to PDF.  Is there anyone can help by providing me a simple sample for my case?

My asp.net web application is running on .net 2.0 framework in VB.net language.

Thank you for your time.


 


2 Replies

SL Samuel Lee November 14, 2012 07:21 AM UTC

We are using latest 10.4.0.53 for Essential PDF component.


GM Geetha M Syncfusion Team November 15, 2012 08:45 AM UTC

Hi Samuel,

Thank you for your interest in Syncfusion products.

You can add content to source PDF document using the following code snippet:

' Write description.

loadedPage.Graphics.DrawString(description, font, blackBrush, New RectangleF(location, size))

The location and size of the text should be known in prior to get the expected result. I had placed a simple sample demonstrating this in the following link:

TextOverlaySample.zip

The following assemblies should be added as reference for running the application:

Syncfusion.Compression.Base

Syncfusion.Core

Syncfusion.Pdf.Base

Could you please check this sample and let me know if you need more details?

Regards

Geetha


Loader.
Up arrow icon