Gets the format of the image in a disk file.
public RasterImageFormat GetFormat(
string fileName
)
Public Overloads Function GetFormat( _
ByVal fileName As String _
) As Leadtools.RasterImageFormat
public Leadtools.RasterImageFormat GetFormat(
string fileName
)
- (LTRasterImageFormat)formatOfFile:(NSString *)file error:(NSError **)error
function Leadtools.Codecs.RasterCodecs.GetFormat(String)(
fileName
)
public:
Leadtools.RasterImageFormat GetFormat(
String^ fileName
)
fileName
A String containing the name of the image file to query.
The format of the image.
GetInformation and GetFormat use GetInformation internally. So, if more information about the image is required, it is recommended to call GetInformation directly and obtain the data once.
For an example, refer to Load(string fileName, int pageNumber).
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET