LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
GetFormatGuid Method
See Also 
Leadtools.Wia Namespace > WiaSession Class : GetFormatGuid Method



fileFormat
The WIA item transfer format ID. For a list of available transfer formats, refer to WiaFileFormats.
fileFormat
The WIA item transfer format ID. For a list of available transfer formats, refer to WiaFileFormats.
Retrieves the relevant System.Guid structure for the passed file format ID.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetFormatGuid( _
   ByVal fileFormat As WiaFileFormats _
) As Guid
Visual Basic (Usage)Copy Code
Dim fileFormat As WiaFileFormats
Dim value As Guid
 
value = WiaSession.GetFormatGuid(fileFormat)
C# 
public static Guid GetFormatGuid( 
   WiaFileFormats fileFormat
)
C++/CLI 
public:
static Guid GetFormatGuid( 
   WiaFileFormats fileFormat
) 

Parameters

fileFormat
The WIA item transfer format ID. For a list of available transfer formats, refer to WiaFileFormats.

Return Value

The relevant System.Guid value for the file format Id.

Example

For an example, refer to WiaSession.EnumFormats.

Remarks

Each WIA item's transfer format listed in the WiaFileFormats enumeration has a corresponding System.Guid value. To get that value, call the GetFormatGuid method, passing the format Id for the corresponding Guid value.

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