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
)
Public Shared Function Create (
doc As SDFDoc,
imageFileData As Byte(),
encoder_hints As Obj
) As Image
public:
static Image^ Create(
[InAttribute] SDFDoc^ doc,
[InAttribute] array<unsigned char>^ imageFileData,
[InAttribute] Obj^ encoder_hints
)
pdftron.PDF.Image.Create = function(doc, imageFileData, 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:
ImageAn
Image object representing the created image.
See Also