Link Search Menu Expand Document

IBarcodeDrawImagesToPDF Method (String, Int32, Image, Point, String, String)

Utility method allowing to draw any image on specified page of PDF document.

Namespace:Bytescout.BarCode
Assembly: Bytescout.BarCode (in Bytescout.BarCode.dll) Version: 7.6.3.1256-master
Syntax
void DrawImagesToPDF(
	string inputFile,
	int pageIndex,
	Image[] images,
	Point[] points,
	string outputFile,
	string documentLayerName
)

Parameters

inputFile
Type: SystemString
Input PDF file name.
pageIndex
Type: SystemInt32
Zero-based page index. Use -1 to draw barcode on each document page.
images
Type: System.DrawingImage
Array of Image objects to draw on PDF page.
points
Type: System.DrawingPoint
Array of upper-left points of images (in document units).
outputFile
Type: SystemString
Output PDF file name.
documentLayerName
Type: SystemString
Name for new PDF layer to place images on. If null or empty, no new layer will be created.
See Also

Reference