Back to Devexpress

TcxCustomImageList.AddImagesFromResZipStream(THandle,string,PChar) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-addimagesfromreszipstream-x28-system-dot-thandle-system-dot-string-system-dot-pchar-x29.md

latest1.9 KB
Original Source

TcxCustomImageList.AddImagesFromResZipStream(THandle,string,PChar) Method

Adds all images to the end of the image list from a ZIP archive in the specified resource module.

Declaration

delphi
procedure AddImagesFromResZipStream(AInstance: THandle; const AResourceName: string; AResType: PChar);

Parameters

NameTypeDescription
AInstanceTHandle

The handle to the resource module that contains the source ZIP archive with images.

| | AResourceName | string |

The resource module.

| | AResType | PChar |

The resource type.

|

Remarks

Call the AddImagesFromResZipStream procedure to load all images stored in a ZIP archive within a resource module. The procedure appends the loaded images to the list with corresponding image file names in the source ZIP archive.

You can call the GetSourceFileName function to obtain file names of all images added by an AddImagesFromResZipStream procedure call.

See Also

TcxCustomImageList.Add(dxGDIPlusClasses.TdxSmartImage,System.String,System.String) Function

TcxCustomImageList.AddImageFromResource Function

TcxCustomImageList.AddImagesFromZipStream Procedure

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit