Skip to main content

IsPictureAssigned(TPicture) Method

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

Declaration

function IsPictureAssigned(APicture: TPicture): Boolean;

Parameters

Name Type
APicture TPicture

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