PdfOutline constructor
PdfOutline(
- PdfDocument pdfDocument, {
- String? title,
- PdfPage? dest,
- PdfRect? rect,
- String? anchor,
- PdfColor? color,
- PdfOutlineMode destMode = PdfOutlineMode.fitPage,
- PdfOutlineStyle style = PdfOutlineStyle.normal,
- PdfPage? page,
Constructs a Pdf Outline object. When selected, the specified region is displayed.
Implementation
PdfOutline(
PdfDocument pdfDocument, {
this.title,
this.dest,
this.rect,
this.anchor,
this.color,
this.destMode = PdfOutlineMode.fitPage,
this.style = PdfOutlineStyle.normal,
PdfPage? page,
}) : assert(anchor == null || (dest == null && rect == null)),
_page = page,
super(pdfDocument, params: PdfDict());