I am using Delphi 2007 and have just upgraded from version 1 to version 3 and found that the AttachStream method no longer works, i.e. no page appears. The LoadFromStream method does work. For example,
procedure TForm1.FormCreate(Sender: TObject);
begin
FileStream := TFileStream.Create('c:\temp\test.pdf', fmOpenRead);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
FileStream.Position := 0;
wpviewpdf1.AttachStream(FileStream);
end;
doesn't display anything.