LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly)
LEAD Technologies, Inc

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
public bool PromptOverwrite {get; set;}
'Declaration
 
Public Property PromptOverwrite As Boolean
'Usage
 
Dim instance As RasterSaveDialog
Dim value As Boolean
 
instance.PromptOverwrite = value
 
value = instance.PromptOverwrite
public bool PromptOverwrite {get; set;}
 get_PromptOverwrite();
set_PromptOverwrite(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterSaveDialog Class
RasterSaveDialog Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.