IsImageSaveEnabled Property

Definition

Assembly MarkView.Avalonia.dll

Gets or sets whether images and Mermaid diagrams can be saved to a file: from the lightbox's save button or Ctrl+S (Cmd+S on macOS), and from the item "Save image as…" of the context menu opened on one. A diagram, or an image of the Svg package, is saved as SVG or PNG; any other image as PNG. Saving raises SavingImage, then opens the platform's save picker (in a browser without one, the file is downloaded). Defaults to true. Can be set from a style, e.g. for every viewer of an application.

public bool IsImageSaveEnabled { get; set; }

Returns