Back to Devexpress

IsPictureAssigned(TPicture) Method

vcl-cxgraphics-dot-ispictureassigned-x28-337f7af5-x29.md

latest1.1 KB
Original Source

IsPictureAssigned(TPicture) Method

Identifies whether the specified TPicture container is valid and hosts an image.

Declaration

delphi
function IsPictureAssigned(APicture: TPicture): Boolean;

Parameters

NameType
APictureTPicture

Returns

Type
Boolean

Remarks

This global function returns True if both the APicture container is not nil and the second overloaded IsImageAssigned function variant returns True for the container’s Graphic property. Otherwise – the IsPictureAssigned function returns False.

See Also

cxGraphics.IsGlyphAssigned

cxGraphics Unit