Table of Contents

TTMSFNCCustomCloudImage Class

Base class for a control that displays an image loaded from a local file or a remote URL. Supports stretching, cropping, centering, aspect-ratio preservation, automatic sizing, and scaled bitmaps resolved through a bitmap container.

API unit family: TMSFNCCloudImage Inherits from: TTMSFNCCustomControl Implements: ITMSFNCBitmapContainer

Syntax

TTMSFNCCustomCloudImage = class(TTMSFNCCustomControl, ITMSFNCBitmapContainer)

Methods

Name Description
Clear Clears the currently displayed image.
Draw Draws the current image onto the supplied graphics surface.
LoadFromURL Loads and displays an image from a remote URL.

Events

Name Description
OnBitmapChanged Occurs when the displayed bitmap has changed.