Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / GetFormatFromString

GetFormatFromString method

Returns the Format for the specified format identifier.

Syntax

Format GetFormatFromString(strFormat As String)

Return value

Returns the corresponding format.

Parameters

ParameterTypeRequiredDescription
strFormatStringYesString containing the format identifier. Can be one of the following values:
- BITMAP
- JPEG
- PNG
- GIF

Category

Properties

See also

GetBase64String | GetBitsPerPixelFromFile | GetFormatAsStringFromFile | GetFormatFromFile | GetFramesFromFile | GetGUID | GetHasMultipleFramesFromFile | GetHeightFromFile | GetInfoFromFile | GetInfoFromURL | GetIsAnimatedFromFile | GetIsCMYKFromFile | GetIsSupportedFromFile | GetMegaPixelsFromFile | GetMIMEFromFile | GetMIMEFromFormat | GetWidthFromFile | SetBackgroundColor | SetFormat | SetFormatDefault | SetPixel | SetTransparency