Leadtools.WinForms.CommonDialogs.File Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
DefaultExtension Property
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterSaveDialogBitsPerPixel Class : DefaultExtension Property




Gets or sets the format extension string that will be used when saving the file.

Syntax

Visual Basic (Declaration) 
Public Property DefaultExtension As String
Visual Basic (Usage)Copy Code
Dim instance As RasterSaveDialogBitsPerPixel
Dim value As String
 
instance.DefaultExtension = value
 
value = instance.DefaultExtension
C# 
public string DefaultExtension {get; set;}
Managed Extensions for C++ 
public: __property string* get_DefaultExtension();
public: __property void set_DefaultExtension( 
   string* value
);
C++/CLI 
public:
property String^ DefaultExtension {
   String^ get();
   void set (String^ value);
}

Return Value

A string that represents the format extension string that will be used when saving the file.

Example

Refer to RasterSaveDialog example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also