Nevron Open Vision Documentation
Nevron.Nov.Text Namespace / NRichTextView Class / CreateSaveFileDialog Method


In This Topic
    CreateSaveFileDialog Method (NRichTextView)
    In This Topic
    Creates the save file dialog shown by the SaveToFile methods that do not have a fileName parameter. Overriden to set the default file format to DOCX if the current document has never been saved.
    Syntax
    'Declaration
     
    
    Protected Friend Overrides Function CreateSaveFileDialog( _
       ByVal defaultFormat As NTextFormat, _
       ByVal formatRegistry As NTextFormatRegistry _
    ) As NSaveFileDialog
    'Usage
     
    
    Dim instance As NRichTextView
    Dim defaultFormat As NTextFormat
    Dim formatRegistry As NTextFormatRegistry
    Dim value As NSaveFileDialog
     
    value = instance.CreateSaveFileDialog(defaultFormat, formatRegistry)
    protected internal override NSaveFileDialog CreateSaveFileDialog( 
       NTextFormat defaultFormat,
       NTextFormatRegistry formatRegistry
    )

    Parameters

    defaultFormat
    formatRegistry
    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