Hello dear developers!
HTML Executable lets you integrate a stand-alone PDF viewer.
The documentation states:
When the PDF viewer engine loads a PDF document, it triggers the [OnPDFDisplay] event.
In list of available commands and description / parameter value for [PDFViewerCommand]:
Command ID – 54
Select the paper color. Param is a RGB value.
I write to the UserMain script
Trying options 1 or 2
I get the error
procedure OnPDFDisplay(PDFPath: String);
begin
-
-
PDFViewerCommand(54, (255, 255, 255));*
-
-
-
PDFViewerCommand(54, rgb (255, 255, 255));*
-
end;
Please tell me - how to do it right?
Thank you so much!