Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomSmartImage.LoadFromResource(THandle,string,PChar) Method

Loads an image from the specified resource.

#Declaration

Delphi
procedure LoadFromResource(AInstance: THandle; const AResName: string; AResType: PChar);

#Parameters

Name Type
AInstance THandle
AResName string
AResType PChar

#Remarks

Call this procedure and pass the handle, name and type of a required resource as the AInstance, AResName, and AResType parameters, respectively. A successfully loaded image populates the empty Smart Image container or replaces the currently stored image.

See Also