SetSecurityPFlags method

Top  Previous  Next

Applies to

TWPViewPDFPLUS

Declaration

procedure SetSecurityPFlags(P: Cardinal);

Description

This method sets the security P flags for the new PDF file. You can use this bits:

 

bit 1 : reserved

bit 2 : reserved

bit 3 : allow printing

bit 4 : allow modifications

bit 5 : allow copy

bit 6 : allow annotations

 

This method is also available using

CommandEx(COMPDF_SetSecurityFlags, flags)

or

CommandEx(508, flags)