FileName property

Top  Previous  Next

This file will be inititally loaded

Applies to

TWPViewPDF

Declaration

property FileName: string;

Description

The PDF file specified here will be loaded at startup. When you modify this property the other PDF file will be loaded at once.

Example

procedure TForm1.Load1Click(Sender: TObject);

begin

 if OpenDialog1.Execute then

 begin

    WPViewPDF1.FileName := OpenDialog1.FileName;

 end;

end;