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