Delphi-Quellcode:
TMyImgView32 = class(TImgView32)
private
FId: Integer;
FPath: String;
...
public
property Id: Integer read FId write FId;
property Path: String read FPath write FPath;
...
end;
Und dann halt TMyImgView32.Create und die properties setzen.