SPFileRightsManagementSettings.AllowPrint property
Gets or sets a value indicating whether the viewer can print the document.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property AllowPrint As Boolean
Get
Set
'Usage
Dim instance As SPFileRightsManagementSettings
Dim value As Boolean
value = instance.AllowPrint
instance.AllowPrint = value
public bool AllowPrint { get; set; }
Property value
Type: System.Boolean
true if print is allowed; otherwise, false.
Remarks
Default value is false.
See also
Reference
SPFileRightsManagementSettings class