Diagram snapshot image file location
path = getSnapshotImage(diag,rpt)
takes the snapshot of the diagram specified by the
path = getSnapshotImage(
diag). It creates an image file and returns the path of that
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.
If you use this method, set the
Scaling property to
zoom. If you use
auto scaling, the image does not
scale to fit on the page.
diag — Dialog reporter
Dialog reporter, specified as the variable name of the
rpt = slreportgen.report.Report diag = slreportgen.report.Diagram... ("f14/Aircraft Dynamics Model"); getSnapshotImage(diag,rpt)
rpt — Report name
Name of the report into which the diagram will go, specified as the report variable name.
path — Location of snapshot image file
Location of snapshot image file, returned as a string. The location is a temporary
folder that is deleted when the report is closed. To retain the folder, set the
Debug property of