LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PromptOverwrite Property
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterSaveDialog Class : PromptOverwrite Property



Gets or sets a value that indicates whether display a a warning if the user specifies a file name that already exists

Syntax

Visual Basic (Declaration) 
Public Property PromptOverwrite As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterSaveDialog
Dim value As Boolean
 
instance.PromptOverwrite = value
 
value = instance.PromptOverwrite
C# 
public bool PromptOverwrite {get; set;}
C++/CLI 
public:
property bool PromptOverwrite {
   bool get();
   void set (    bool value);
}

Property Value

true to have the Save dialog box display a warning if the user specifies a file name that already exists; otherwise, false.

Example

Refer to RasterSaveDialog example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also