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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Text overlay to PDF sample

Thread ID:

Created:

Updated:

Platform:

Replies:

105696 Nov 14,2012 07:20 AM UTC Nov 15,2012 08:45 AM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: PDF
Samuel Lee
Asked On November 14, 2012 07:20 AM UTC

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.


 


Samuel Lee
Replied On November 14, 2012 07:21 AM UTC

We are using latest 10.4.0.53 for Essential PDF component.

Geetha M [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;