LEADTOOLS Image File Support (Leadtools.Codecs assembly)

GetFormat(Uri) Method

Show in webframe







The System.Uri containing the image data.
Gets the format of the image URI.
Syntax
public RasterImageFormat GetFormat( 
   Uri uri
)
'Declaration
 
Public Overloads Function GetFormat( _
   ByVal uri As Uri _
) As RasterImageFormat
'Usage
 
Dim instance As RasterCodecs
Dim uri As Uri
Dim value As RasterImageFormat
 
value = instance.GetFormat(uri)
public RasterImageFormat GetFormat( 
   Uri uri
)

            

            
 function Leadtools.Codecs.RasterCodecs.GetFormat(Uri)( 
   uri 
)
public:
RasterImageFormat GetFormat( 
   Uri^ uri
) 

Parameters

uri
The System.Uri containing the image data.

Return Value

The format of the image.
Remarks

GetInformation(String,Boolean) and GetFormat(String) use GetInformation(String,Boolean) internally. So, if more information about the image is required, it is recommended to call GetInformation(String,Boolean) directly and obtain the data once.

Example

For an example, refer to Load(Uri uri, int pageNumber).

Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.