PdfEncoderToByteArray Method (AtalaImage, ProgressEventHandler) |
Saves a single image as a PDF to a byte array.
Namespace:
Atalasoft.Imaging.Codec.Pdf
Assembly:
Atalasoft.dotImage.Pdf (in Atalasoft.dotImage.Pdf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public byte[] ToByteArray(
AtalaImage image,
ProgressEventHandler progress
)
Public Function ToByteArray (
image As AtalaImage,
progress As ProgressEventHandler
) As Byte()
Parameters
- image
- Type: Atalasoft.ImagingAtalaImage
The image to save.
- progress
- Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null
(Nothing in Visual Basic).
Return Value
Type:
ByteSee Also