PdfMergeAddImagePage(Byte, PdfPageSize, PdfPageOrientation) Method
Adds a page displaying an image from a memory buffer. The page has the size of the image
when no page size is given, otherwise the image is fitted in the page and centered
Namespace: EvoPdf.NextAssembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
public int AddImagePage(
byte[] imageData,
PdfPageSize pageSize = null,
PdfPageOrientation pageOrientation = PdfPageOrientation.Portrait
)
- imageData Byte
- The image data
- pageSize PdfPageSize (Optional)
- The size of the page, or null for a page with the size of the image
- pageOrientation PdfPageOrientation (Optional)
- The orientation of the page
Int32The 1-based number of the added page in the merged document