[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Loads image data from a stream for the specified MIME type.
Source position: graphics.pp line 1309
public procedure TRasterImage.LoadFromMimeStream( |
AStream: TStream; |
const AMimeType: string |
); override; |
AMimeType |
|
MIME type for the image data in the stream. |
LoadFromMimeStream is an overridden method in TRasterImage.
LoadFromMimeStream examines the ClassType for the image to determine if it is handled in the overridden method. TBitmap, TPixmap, and TCustomIcon descendants are handled in the method.
LoadFromMimeStream compares the value in AMimeType to the PredefinedClipboardMimeTypes values defined in LCL. If AMimeType matches one of the values defined for TPixmap or TBitmap, then the LoadFromStream method is called to load image data from AStream.
Other ClassType or MIME type values cause the inherited LoadFromMimeStream method to be called.
LoadFromMimeStream is used in the implementation of the AssignGraphic method in TClipboard.
|
Loads the from the specified stream for the given MIME type. |
|
|
Represents the clipboard on platforms supported for the LCL. |
Version 4.0 | Generated 2025-05-03 | Home |