Nevron.Nov.UI Namespace / NElementMediaExporter<TContent> Class / ShowDialogAndSaveToFileAsync Method
In This Topic
    ShowDialogAndSaveToFileAsync Method
    In This Topic
    Shows a preview of the media export and saves it to the specified file when the user clicks on the OK button. The dialog has OK/Cancel buttons and no other buttons for export, since the action is focused on saving the exported content to file.
    Syntax
    public NPromise<bool> ShowDialogAndSaveToFileAsync( 
       NWindow ownerWindow,
       NFile file,
       System.bool modal,
       System.string title
    )

    Parameters

    ownerWindow
    file
    modal
    title
    Exceptions
    ExceptionDescription
    The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also