Main Content

Stateflow Dialog Snapshot

Insert snapshots of Stateflow editor dialog boxes


This component reports on the current reported Stateflow® dialog box object, depending on its context. If this component is the child of a State Loop, for example, the report includes information about the dialog box of the current State. Display the current settings associated with an object or document the appearance of your custom mask dialog boxes.


  • Image file format: Specifies the format for the snapshot image file. The Automatic format uses BMP format for PDF files and PNG for other formats.

  • Show all tabs: Automatically generates images for all the tabs for the dialog box. If you clear this check box, the Simulink® Report Generator™ software creates an image of only the first tab.

Display Options

  • Scaling: Controls size of the image, as displayed in a browser. Making an image larger using this option does not affect the storage size of the image, but the quality of the displayed image may decrease as you increase or decrease the size of the displayed image.

    Generally, to achieve the best and most predictable display results, use the default setting of Use image size.

    • Use image size: Causes the image to appear the same size in the report as on screen (default).

    • Fixed size: Specifies the number and type of units.

    • Zoom: Specifies the percentage, maximum size, and units of measure.

  • Size: Specifies the size of the image in the format [width height]. This field is active only if you choose Fixed size in the Scaling list.

  • Max size: Specifies the maximum size of the image in the format [width height]. This field is active only if you choose Zoom from the Scaling selection list.

  • Units: Specifies the units for the size of the image. This field is active only if you choose Zoom or Fixed size in the Image size selection list.

  • Alignment: Only reports in PDF or RTF format support this property.

    • Auto

    • Right

    • Left

    • Center

  • Title: Specifies text to appear above the image.

  • Caption: Specifies text to appear under the image.

Insert Anything into Report?

Yes. Snapshot.


rptgen_sl.Cdialog boxesnapshot

See Also

State Loop