You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-07-12 22:30:17 +02:00
Fixed TPDFPrintOptions properties.
Now header_footer_enabled, selection_only, landscape and backgrounds_enabled are boolean.
This commit is contained in:
@ -1296,10 +1296,10 @@ begin
|
||||
aSettings.margin_bottom := FPDFPrintOptions.margin_bottom;
|
||||
aSettings.margin_left := FPDFPrintOptions.margin_left;
|
||||
aSettings.margin_type := FPDFPrintOptions.margin_type;
|
||||
aSettings.header_footer_enabled := FPDFPrintOptions.header_footer_enabled;
|
||||
aSettings.selection_only := FPDFPrintOptions.selection_only;
|
||||
aSettings.landscape := FPDFPrintOptions.landscape;
|
||||
aSettings.backgrounds_enabled := FPDFPrintOptions.backgrounds_enabled;
|
||||
aSettings.header_footer_enabled := Ord(FPDFPrintOptions.header_footer_enabled);
|
||||
aSettings.selection_only := Ord(FPDFPrintOptions.selection_only);
|
||||
aSettings.landscape := Ord(FPDFPrintOptions.landscape);
|
||||
aSettings.backgrounds_enabled := Ord(FPDFPrintOptions.backgrounds_enabled);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user