Event args for SavingImage, raised when the user asks to save an image or a diagram, before the save picker opens. A handler can change the suggested file name, or cancel the picker, for instance to save the picture itself with WriteAsync(MarkdownImageFormat, Stream).
public sealed class SavingImageEventArgs : RoutedEventArgs
kind:method, kind:property, kind:ctor. Press Esc to clear.CancelSet to true not to open the save picker, for instance when the handler saves the picture itself.FormatsThe formats the picture can be saved in, the one the picker suggests first: SVG then PNG for a picture drawn as vectors with its SVG document at hand, PNG alone otherwise.SuggestedFileNameThe name the save picker suggests, without an extension: the last segment of an image's address (image without one), or diagram for a diagram.WriteAsync(MarkdownImageFormat, Stream)Writes the picture to stream in format, one of Formats. Call it on the UI thread: a picture is rendered with the UI's own drawing.