If this is your first time to use our DocImageSDK, we strongly suggest you reading How to Start first!
> .NET Imaging SDK
> Add Image to New PDF Page
Add Image to PDF in C#.NET Application
How to insert and burn image, picture, digital photo, scanned signature or logo into PDF document page in C#.NET class application? To help you solve this technical problem, we provide this C#.NET PDF image adding control. Similar to other toolkits from RasterEdge .NET Image SDK
, this C#.NET PDF image adding control is also completely developed in .NET developing platform and compatible with .NET Framework 2.0 and later versions.
Using this C# .NET image inserting library control for PDF document, you can not only easily and quickly add an image, picture or logo to any position of your PDF document file, but also customize inserted image settings. For instance, you can add an image to PDF document page with desired rotating degree or you can insert an image into specified PDF document page with different transparency.
Here we briefly summarize the main content of this C#.NET PDF document image adding control tutorial page.
- Key features of C# .NET PDF document image adding library component
- Brief introductions on programming classes that will be used in PDF image adding application
- How to add & insert image file to source PDF document file using C#.NET programming code
- Frequently asked questions about this C#.NET PDF image inserting control
C#.NET PDF Image Adding & Burning Control Features
- 100% thread-safe .NET solution to insert image or picture into PDF document using C#
- Add images directly to any location of target PDF document file using C# .NET code
- The inserted image can be burned as an integrated part of PDF file using C#.NET
- Allow C#.NET developers to add image that is drawn from PC local files or stream to source PDF page
C#.NET PDF Processing Classes Overview
This C#.NET PDF image adding control is a component of RasterEdge .NET imaging SDK that has only several simple classes. Here we introduce two classes that will be used in the PDF page image inserting application.
- PDFDocument: It is an abstraction of PDF document file and it contains all the information of source PDF document. REDocument is counted as a higher layer of PDFDocument.
- PDFPage: It is derived from super class REPage and used as an abstraction of PDF document page that is contained in PDFDocument.
Add & Burn Image to PDF Using C#.NET Code
This C#.NET PDF image adding control allows developers to insert & burn an image of format like png, gif, jpeg, bmp or tiff in specified position of target PDF page. Because PDF file implements several compression mechanisms for embedded images, you can specify one that you like or just leave it to the assembly program to decide.
C#.NET APIs on How to Add & Burn Image to PDF
void PDFPage.AddImage(REImage img, float x, float y);
void PDFPage.AddImage(REImage img, float x, float y, PDFCompression compression);
Sample C#.NET Code for Adding & Burning Image to PDF
public void AddImagetoPage(PDFPage page,String imgPath, float positionX, float positionY)
REImage img = (REImage) REFile.OpenImageFile(imgPath);
// If no compression scheme specified. the RasterEdge PDF will decide this.
page.AddImage(img, positionX, positionY, null);
C#.NET PDF Page Image Inserting FAQs
Q 1: I am looking for a C# .NET PDF document image adding control toolkit which can help me achieve two tasks. One is to help me insert an image into accurate position of PDF document page. The other is to help me add a link to inserted image. Can RasterEdge PDF image inserting control meet my requirements?
A 1: RasterEdge image adding control for PDF document supports inserting an image into any specified position of target multi-page PDF document file. But the current version of this PDF image adding control is unable to help developers add a link to inserted image object.
Q 2: Using RasterEdge C#.NET PDF document image inserting control, can I put inserted image at the bottom of PDF page, below the layer of PDF text information?
A 2: Sorry, currently, this C#.NET PDF document image adding control will automatically put inserted image file at the most top layer of PDF page.
PDF Processing Tutorials in C#.NET Application
Recommend this to Google+