Link Search Menu Expand Document

BarcodeDrawImagesToPDF Method (Stream, Int32, Image, Point, Stream, 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
public void DrawImagesToPDF(
	Stream inputStream,
	int pageIndex,
	Image[] images,
	Point[] points,
	Stream outputStream,
	string documentLayerName
)

Parameters

inputStream
Type: System.IOStream
Stream containing input PDF document.
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).
outputStream
Type: System.IOStream
Output stream.
documentLayerName
Type: SystemString
Name for new PDF layer to place images on. If null or empty, no new layer will be created.

Implements

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

Reference