TcxCustomImage.Picture Property
Specifies the image stored and displayed by the image editor.
Declaration
property Picture: TPicture read; write;
Property Value
Type |
---|
TPicture |
Remarks
The image editor can store images of the following types: JPEG image (.jpg and .jpeg), bitmap (.bmp), icon (.ico) and metafile (.emf and .wmf).
Use any of the following methods to programmatically store an image to the image editor:
Assign a TPicture instance to the Picture property;
Call the image editor’s LoadFromFile or PasteFromClipboard method;
End-users can invoke the image editor’s popup menu and use its image management capabilities to load images at runtime.
If no image is assigned to the image editor, it displays the text specified via its Properties.Caption property.
See Also