ZOOM_TO_FIT_CMD

Static ZOOM_TO_FIT_CMD 

Source
pub static ZOOM_TO_FIT_CMD: Command
Expand description

Represents the zoom to fit action.

The content is scaled to fit the viewport, the equivalent to ImageFit::Contain.

§Parameter

This command accepts an optional ZoomToFitRequest parameter with configuration.

§Metadata

This command has the following default metadata:

  • name
  • shortcut
  • shortcut_filter
  • icon

Text metadata is localized.