LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

GetFormatGuid Method






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
public static Guid GetFormatGuid( 
   WiaFileFormats fileFormat
)
'Declaration
 
Public Shared Function GetFormatGuid( _
   ByVal fileFormat As WiaFileFormats _
) As Guid
'Usage
 
Dim fileFormat As WiaFileFormats
Dim value As Guid
 
value = WiaSession.GetFormatGuid(fileFormat)
public static Guid GetFormatGuid( 
   WiaFileFormats fileFormat
)
 function Leadtools.Wia.WiaSession.GetFormatGuid( 
   fileFormat 
)
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.
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.

Example
For an example, refer to WiaSession.EnumFormats.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WiaSession Class
WiaSession Members
Startup Method
Shutdown Method
GetRootItem Method
EnumFormats Method
GetPropertyGuid Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.