Leadtools.WinForms.CommonDialogs.File Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Add Method
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterSaveDialogBitsPerPixelList Class : Add Method



fileTypeIndex
Save dialog file type index that includes the bits per pixel, refer to RasterDialogFileTypesIndex.
bitsPerPixe
Save dialog bits per pixel to be added, refer to RasterDialogFileTypesIndex.
subTypeDataContent
The added sub-types for this bits per pixel data, refer to RasterDialogFileSubTypeDataContent.
Adds a new sub-type RasterSaveDialogBitsPerPixel to this list.

Syntax

Visual Basic (Declaration) 
Public Sub Add( _
   ByVal fileTypeIndex As RasterDialogFileTypesIndex, _
   ByVal bitsPerPixe As Integer, _
   ByVal subTypeDataContent As RasterDialogFileSubTypeDataContent _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterSaveDialogBitsPerPixelList
Dim fileTypeIndex As RasterDialogFileTypesIndex
Dim bitsPerPixe As Integer
Dim subTypeDataContent As RasterDialogFileSubTypeDataContent
 
instance.Add(fileTypeIndex, bitsPerPixe, subTypeDataContent)

Parameters

fileTypeIndex
Save dialog file type index that includes the bits per pixel, refer to RasterDialogFileTypesIndex.
bitsPerPixe
Save dialog bits per pixel to be added, refer to RasterDialogFileTypesIndex.
subTypeDataContent
The added sub-types for this bits per pixel data, refer to RasterDialogFileSubTypeDataContent.

Return Value

The index of the added item.

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