Exemple #1
0
 /// <summary>
 /// Overload constructor
 /// </summary>
 /// <param name="permissions"></param>
 public PdfMake(IPdfMakePermissions permissions)
 {
     Body        = new List <object>();
     Header      = new List <object>();
     Footer      = new List <object>();
     Permissions = permissions;
 }
Exemple #2
0
 /// <summary>
 /// Overload constructor
 /// </summary>
 /// <param name="userPassword"></param>
 /// <param name="ownerPassword"></param>
 /// <param name="permissions"></param>
 public PdfMake(string userPassword, string ownerPassword, IPdfMakePermissions permissions)
 {
     Body          = new List <object>();
     Header        = new List <object>();
     Footer        = new List <object>();
     UserPassword  = userPassword;
     OwnerPassword = ownerPassword;
     Permissions   = permissions;
 }
Exemple #3
0
 /// <summary>
 /// Overload constructor
 /// </summary>
 /// <param name="pageSize"></param>
 /// <param name="compress"></param>
 /// <param name="userPassword"></param>
 /// <param name="ownerPassword"></param>
 /// <param name="permissions"></param>
 public PdfMake(PageSize pageSize, bool compress, string userPassword, string ownerPassword, IPdfMakePermissions permissions)
 {
     Body          = new List <object>();
     Header        = new List <object>();
     Footer        = new List <object>();
     PageSize      = pageSize;
     Compress      = compress;
     UserPassword  = userPassword;
     OwnerPassword = ownerPassword;
     Permissions   = permissions;
 }