getSnapshotImage
Class: slreportgen.report.ElementDiagram
Namespace: slreportgen.report
Element diagram snapshot image file location
Syntax
path = getSnapshotImage(elemdiag,rpt)
Description
generates the image of the element diagram this reporter would generate if it were added to
the report (path
= getSnapshotImage(elemdiag
,rpt
)rpt
). This method returns the path of the generated image.
Use this method to take snapshots of element diagrams without having to add the
ElementDiagram
reporter to a report. For example, you can use this method to
set the Image
property of a TitlePage
reporter to a
snapshot of an element diagram.
Note
If you use this method, set the ElementDiagram
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