PdfDocument.AddImage Method (String)

Adds new image(s) with the data and properties read from the file with specified name to the end of the collection of document images.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfImage AddImage(
	string fileName
)
VB
Public Function AddImage ( 
	fileName As String
) As PdfImage

Parameters

fileName
Type: System.String
Name of the file from which to create PdfImage(s).

Return Value

Type: PdfImage
The PdfImage for the first frame (page) read from the file with specified name.

Remarks

This method adds a new image for each frame (page) read from the file with specified name.

See Also