API Reference
Class
PdfImageDocumentSource
One image source used to create a PDF page.
Inheritance
- Object
- PdfImageDocumentSource
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Accepted by parameters 1
- Method PdfDocument.CreateFromImages
Constructors
public PdfImageDocumentSource(Byte[] bytes, String? name = null) #Creates an image source from an encoded image payload.
Parameters
- bytes System.Byte[]
- name System.String? = null
Methods
FromFile 2 overloads
public static PdfImageDocumentSource FromFile(String path) #Returns:
PdfImageDocumentSourceCreates an image source from a file snapshot.
Parameters
- path System.String
public static PdfImageDocumentSource FromFile(String path, Int64 maximumEncodedImageBytes) #Returns:
PdfImageDocumentSourceCreates an image source from a file snapshot within an encoded-byte limit. Document creation applies its own limit.
Parameters
- path System.String
- maximumEncodedImageBytes System.Int64
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String? Name { get; } #Optional source name used as PDF alternate text.