PDF wasn't secured at all!!!
Beiträge von Bolo
-
-
Hi,
Code:Viewer.LoadFromStream(StreamPDF);
{---}
Viewer.Plus.SaveSelectionToFile(FileName....);And result is Exception : EPDFSecurityForbidsSaving !
In one application it works fine.
In second app, that same PDF(!) with that same module and that same license - and i have exception!PDF without security options!
Why this doesn't work ????
I have try this for change security options (before/after loading):A) Viewer.Plus.SetSecurityPFlags(0);
B) Viewer.CommandEx(COMPDF_SetSecurityFlags,0);
C) Viewer.SecurityOptions := [];Best regards
-
Hi.
How I can scroll loaded PDF programaticaly?
For example - I need load and scroll PDF to right bottom corner.Best regards
Bolo -
No, still not working!!
In my code is something like this:WPViewPDF.filename := FFileName;
if WPViewPDF.Plus.CheckOwnerPassword('000000') then //its ok - TRUE
begin
WPViewPDF.Plus.SetSecurityOwnerPW('000000');
WPViewPDF.Plus.SetSecurityUserPW('000000');
WPViewPDF.Command(COMPDF_DisableSecurityOverride,1);
end;if WPViewPDF.LoadFromFile(FFileName) then //result is TRUE
but...nothing happend - I dont see PDF!
Why?
-
Hello
I cant open PDF with password in WPViewPDF.
What I should do to can open crypted?
Setting LoginPassword before open - not working.