Leadtools.Codecs Namespace > RasterCodecs Class > GetFormat Method : GetFormat(Uri) Method |
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 )
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.
For an example, refer to Load(Uri uri, int pageNumber).