THotPDF.AutoLaunch Property

 

THotPDF.AutoLaunch

THotPDF

 

顶部  上一页  下一页

决定生成的 PDF 文档是否自动显示

 

Delphi 语法:

property AutoLaunch: Boolean;

 

C++ 语法:

__property bool AutoLaunch;

 

将 AutoLaunch 设为 true,则在调用 EndDoc 之后,会用默认阅读器打开生成的 PDF 文档。将 AutoLaunch 设为 false,则创建的  PDF 文档不会在默认  阅读器中显示

Default value: true;

 

代码示例

HPDF.Title := 'HotPDF Library Manual';
HPDF.Author := 'LosLab Software Developer';
HPDF.Subject := 'PDF generation component';
HPDF.Keywords := 'PDF, library, component, Delphi';
HPDF.ShowInfo := true;  // Show document properties in PDF viewer