Link Search Menu Expand Document

BarcodeWebImageDrawImagesToPDF 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.5.1.1213-master
Syntax
public 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.

Implements

IBarcodeDrawImagesToPDF(String, Int32, Image, Point, String, String)
See Also

Reference


Copyright © 2016 - 2023 ByteScout