getSnapshotImage
Class: slreportgen.report.Diagram
Namespace: slreportgen.report
Diagram snapshot image file location
Syntax
path = getSnapshotImage(diag,rpt)
Description
takes the snapshot of the diagram specified by the path
= getSnapshotImage(diag
,rpt
)slreportgen.report.Diagram
reporter (diag
). It creates an image file and returns the path of that
file. rpt
is the report into which the diagram is added. This method
gives you access to the image file so you can place it in specific locations of the report,
such as on a title page. By changing the report layout and then adding this image, you can
control the image layout.
Note
If you use this method, set the Diagram
Scaling
property to custom
or
zoom
. If you use auto
scaling, the image does not
scale to fit on the page.
Input Arguments
Output Arguments
Version History
Introduced in R2018b