Click or drag to resize

ImageCreate Method (SDFDoc, Byte, Obj)

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[] imageFileData,
	Obj encoder_hints
)

Parameters

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

[Missing <param name="encoder_hints"/> documentation for "M:pdftron.PDF.Image.Create(pdftron.SDF.SDFDoc,System.Byte[],pdftron.SDF.Obj)"]

Return Value

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