PdfXObject constructor
PdfXObject(
- PdfDocument pdfDocument,
- String? subtype, {
- bool isBinary = false,
Implementation
PdfXObject(PdfDocument pdfDocument, String? subtype, {bool isBinary = false})
: super(pdfDocument, type: '/XObject', isBinary: isBinary) {
if (subtype != null) {
params['/Subtype'] = PdfName(subtype);
}
}