ParseFromFilenameWithExtension
Image2DFormat.ParseFromFilenameWithExtension method
Returns ImageFormat value, which is equivalent of filename extension, which is extracted from specified filename
public static Image2DFormat ParseFromFilenameWithExtension(string filename)
Parameter | Type | Description |
---|---|---|
filename | String | Arbitrary filename, can be a relative or full path |
Return Value
ImageFormat value. Returns Undefined
, if extension cannot be recognized.
See Also
- struct Image2DFormat
- namespace GroupDocs.Viewer.Drawing
- assembly GroupDocs.Viewer