Leadtools.Wia Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 Guid structure for the passed file format ID.

Syntax

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

Parameters

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

Example

For an example, refer to WiaSession.EnumFormats.

Remarks

Each WIA item's transfer format listed in the WiaFileFormats enumeration has a corresponding Guid value. To get that value, call the GetFormatGuid method, passing the format Id for the corresponding Guid value. This function fills the FormatGuid property with the corresponding GUID value.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also