Click or drag to resize

ImageCreate Method (SDFDoc, Byte)

Create and embed an Image from an array of bytes representing the image.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static Image Create(
	SDFDoc doc,
	byte[] byteArray
)

Parameters

doc
Type: pdftron.SDFSDFDoc
A document to which the image should be added. To obtain SDFDoc from PDFDoc use PDFDoc.GetSDFDoc().
byteArray
Type: SystemByte
The byte array representing a JPEG/PNG/TIFF/BMP/EMF/WMF image, not just raw pixel data.

Return Value

Type: Image
An Image object representing the created image.
See Also