PdfDocument.AddImage Method

Adds new image(s) to the end of the collection of document images.

Overload List

  NameDescription
Public methodAddImage(Byte[])
Adds new image(s) with the data and properties read from the buffer with image bytes to the end of the collection of document images.
Public methodAddImage(PdfImageFrame)
Creates a new image from specified PdfImageFrame and adds it to the end of the collection of document images.
Public methodAddImage(Stream)
Adds new image(s) with the data and properties read from the specified stream to the end of the collection of document images.
Public methodAddImage(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.
Public methodAddImage(Byte[], PdfColor)
Creates image(s) with the data and properties read from the buffer with image bytes, applies specified mask color to them and adds resulting image(s) to the end of the collection of document images.
Public methodAddImage(Byte[], Byte[])
Creates a new image with the data and properties read from the buffer with image bytes, applies mask constructed from the buffer with mask image bytes to it and adds resulting image to the end of the collection of document images.
Public methodAddImage(Stream, PdfColor)
Creates image(s) with the data and properties read from the specified stream, applies specified mask color to them and adds resulting image(s) to the end of the collection of document images.
Public methodAddImage(Stream, Stream)
Creates a new image with the data and properties read from the specified stream, applies mask read from another stream to it and adds resulting image to the end of the collection of document images.
Public methodAddImage(String, PdfColor)
Creates image(s) with the data and properties read from the file with specified name, applies specified mask color to them and adds resulting image(s) to the end of the collection of document images.
Public methodAddImage(String, String)
Creates a new image with the data and properties read from the file with specified name, applies mask read from another file with specified name to it and adds resulting image to the end of the collection of document images.

See Also