Main Content

mlreportgen.utils.PDFDoc class

Package: mlreportgen.utils

Wrap PDF file for viewing

Description

The mlreportgen.utils.PDFDoc class is a handle class.

Creation

Description

example

docobj = mlreportgen.utils.PDFDoc(filename) wraps a PDF document file for viewing. The PDF document object is not visible on construction. To make it visible, use the show method.

Input Arguments

expand all

Path to a PDF file, specified as a string or character vector.

Properties

expand all

Full path to PDF file, specified as a string or character vector.

Methods

expand all

Examples

collapse all

docobj = mlreportgen.utils.PDFDoc("MyPDFDoc.pdf");
show(docobj);

Version History

Introduced in R2018b