Documentation

Stateflow Dialog Snapshot

Insert snapshots of Stateflow editor dialog boxes

Description

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.

Format

  • 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 snapshot in the form w h (width, height). This field is active only if you choose Fixed size in the Scaling selection list.

  • Max size: Specifies the maximum size of the snapshot in the form w h (width, height). This field is active only if you choose Zoom in the Scaling selection list.

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

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

    • Auto

    • Right

    • Center

    • Left

  • Title: Specifies text to appear above the snapshot.

  • Caption: Specifies text to appear under the snapshot.

Insert Anything into Report?

Yes. Snapshot.

Class

rptgen_sl.Cdialog boxesnapshot

See Also

State Loop

Was this topic helpful?