You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Creation > PdfCreateRights Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfCreateRights Method

Create a value to be used with the "Rights" parameter of PDF functions for saving with encryption.

C#
public PdfRight PdfCreateRights(
    Boolean CanPrint, 
    Boolean CanModify, 
    Boolean CanCopy, 
    Boolean CanAddNotes, 
    Boolean CanFillFields, 
    Boolean CanCopyAccess, 
    Boolean CanAssemble, 
    Boolean CanPrintFull
);
Visual Basic
Public Function PdfCreateRights(
    ByVal CanPrint As Boolean, 
    ByVal CanModify As Boolean, 
    ByVal CanCopy As Boolean, 
    ByVal CanAddNotes As Boolean, 
    ByVal CanFillFields As Boolean, 
    ByVal CanCopyAccess As Boolean, 
    ByVal CanAssemble As Boolean, 
    ByVal CanPrintFull As Boolean
) As PdfRight
Parameters
Parameters 
Description 
CanPrint 
Allows the user to print the document.  
CanModify 
Allows the user to edit the document.  
CanCopy 
Allows the user to copy text and graphics from the document.  
CanAddNotes 
Allows the user to add annotations.  
CanFillFields 
Allows the user to fill in form fields. Only works with 128-bit encryption.  
CanCopyAccess 
Enables copying for use with accessibility features. Only works with 128-bit encryption.  
CanAssemble 
Allows the user to assemble the document. Only works with 128-bit encryption.  
CanPrintFull 
Allows high resolution printing of the document. Only works with 128-bit encryption.  
Returns

A combination of members of the PdfRight enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.