[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TRasterImage.GetSupportedSourceMimeTypes

Gets a list of supported MIME types for image data used in the image type.

Declaration

Source position: graphics.pp line 1295

public procedure TRasterImage.GetSupportedSourceMimeTypes(

  List: TStrings

); override;

Description

GetSupportedSourceMimeTypes is an overridden method in TRasterImage used to get the list of MIME types used for image data in the image type. List is the TStrings instance where the list of supported MIME types is stored.

GetSupportedSourceMimeTypes uses the value in ClassType to determine if the request is handled in the overridden method. It is handled in the method when ClassType is TBitmap, TPixmap, or TCustomIcon. Values in the PredefinedClipboardMimeTypes constant for the TBitmap and TPixmap types are added to List. When ClassType contains any other type, the inherited method is called.

GetSupportedSourceMimeTypes is called from the AssignPicture method in TClipboard.

See also

TGraphic.GetSupportedSourceMimeTypes

  

Gets a list of supported MIME types for data used in the graphic.

TClipboard

  

TClipboard - area for holding information that has been cut or copied, ready for pasting.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.