LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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.
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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also