PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jul 15, 2024 9:46 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Apr 20, 2011 11:04 pm 
Offline

Joined: Sat Feb 05, 2011 7:30 pm
Posts: 15
Does any documentation exists that explains what properties like PermitAccessibilityExtractionContent mean? And what are the default values used for these options if they are not specified?

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 21, 2011 7:11 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
GaryR wrote:
Does any documentation exists that explains what properties like PermitAccessibilityExtractionContent mean?

The property "PermitAccessibilityExtractContent" is documented in the source code and in the help files we created from the source code comments.

Quote:
Permits content extraction for accessibility.


For constants like "PermitAccessibilityExtractContent" (used by the mentioned property) you find a comment in the source code (just click F12 when you're at that constant in source code).

Quote:
// Bit 10 (Revision 3 or greater) Extract text and graphics (in support of accessibility
// to users with disabilities or for other purposes).

For further information please consult the Adobe PDF specification.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 21, 2011 4:23 pm 
Offline

Joined: Sat Feb 05, 2011 7:30 pm
Posts: 15
Thanks!
How do I get to the source code? If I go to the property in my source code and hit F12, I see the following but no comments or default values.

using PdfSharp.Pdf;
using System;

namespace PdfSharp.Pdf.Security
{
public sealed class PdfSecuritySettings
{
public PdfDocumentSecurityLevel DocumentSecurityLevel { get; set; }
public bool HasOwnerPermissions { get; }
public string OwnerPassword { set; }
public bool PermitAccessibilityExtractContent { get; set; }
public bool PermitAnnotations { get; set; }
public bool PermitAssembleDocument { get; set; }
public bool PermitExtractContent { get; set; }
public bool PermitFormsFill { get; set; }
public bool PermitFullQualityPrint { get; set; }
public bool PermitModifyDocument { get; set; }
public bool PermitPrint { get; set; }
public string UserPassword { set; }
}
}


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 26, 2011 11:36 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
GaryR wrote:
How do I get to the source code?

Simply reference the PDFsharp projects in your solution (like we do in the Samples solutions).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group