Contents - Index - Previous - Next


GetImages method




Declaration
function GetImages(AResult: TStrings): Boolean;

Description

Retrieves the sources of all images in the document into the AResult parameter.

Returns True on success. Returns False on failure.


Example

procedure TForm1.ToolButton1Click(Sender: TObject);
var
  StringList: TStringList;
begin
  StringList := TStringList.Create;
  try
    ProfDHTMLEdit21.GetImages(StringList);
    { process the string list here... }
  finally
    StringList.Free
  end
end;