TTMSFNCUtils.FindGraphicClass Method
Finds the registered graphic class that can load the specified image buffer.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function FindGraphicClass(const Buffer; const BufferSize: Int64; out GraphicClass: TGraphicClass): Boolean;
Parameters
| Name | Description |
|---|---|
Buffer |
First byte of the image buffer. |
BufferSize |
Size of the image buffer in bytes. |
GraphicClass |
Receives the matching graphic class when the function returns True. |
Returns
True when a matching graphic class is found.