ARTS Security
Version 1.0
Copying a pdf page into word - control Library utility:C# PDF Page Extract Library: copy, paste, cut PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Easy to Use C# Code to Extract PDF Pages, Copy Pages from One PDF File and Paste into Others
www.rasteredge.com
Copying a pdf page into word - control Library utility:VB.NET PDF Page Extract Library: copy, paste, cut PDF pages in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Detailed VB.NET Guide for Extracting Pages from Microsoft PDF Doc
www.rasteredge.com
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 2 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
Table of Contents 
Introduction.....................................................................................................................3 
Architecture.....................................................................................................................4 
Requirements..................................................................................................................5 
Objects............................................................................................................................6 
Methods..........................................................................................................................7 
SetLicenseKey............................................................................................................8 
OpenAVDocSecure....................................................................................................9 
ApplyStandardSecurity .............................................................................................10 
HasOwnerPassword.................................................................................................12 
HasUserPassword....................................................................................................13 
IsPrintingDisabled.....................................................................................................14 
IsChangingTheDocumentDisabled ...........................................................................15 
IsAddingOrChangingNotesAndFormsFieldsDisabled................................................16 
IsSelectingTextOrGraphicsDisabled.........................................................................17 
Table of errors...............................................................................................................18 
Additional Notes............................................................................................................19 
Troubleshooting ............................................................................................................20 
control Library utility:C# PDF copy, paste image Library: copy, paste, cut PDF images in
etc. High quality image can be saved after cutting, copying and pasting into PDF page in .NET console application. Guarantee high
www.rasteredge.com
control Library utility:VB.NET PDF copy, paste image library: copy, paste, cut PDF images
DNN (DotNetNuke), SharePoint. High quality image can be saved after cutting, copying and pasting into PDF page. Empower to cut, copy
www.rasteredge.com
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 3 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
Introduction 
ARTS Security is an ActiveX/COM (Component Object Model) component that 
allows you to use OLE and Acrobat to: 
1.  Open secured PDF files. 
2.  Modify the security settings for PDF files. 
3.  Check existing security settings on PDF files. 
This component can be used in conjunction with the Acrobat OLE Automation 
model (refer to the Acrobat SDK
1
for further details). 
1
Available from http://partners.adobe.com/ 
control Library utility:C# PDF Convert to Word SDK: Convert PDF to Word library in C#.net
C# source code is available for copying and using in with specified zoom value and save it into stream zoomValue, The magnification of the original PDF page size
www.rasteredge.com
control Library utility:C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
Copying and Pasting Pages. to copy and get a specific page of PDF file; you can also copy and paste pages from a PDF document into another PDF file Rotating Page.
www.rasteredge.com
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 4 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
Architecture 
Acrobat viewer plug-in COM server component - ARTSSec.api 
Note:
Unlike a normal Automation server, which is generally encapsulated in an 
executable, the ARTS Security Automation server resides in an Acrobat plug-in. 
As such, Acrobat must first be instantiated before an object of type AcroSec 
(ARTS Security object) can be instantiated. The best method of doing this is 
using the Visual Basic command: 
CreateObject(“AcroExch.App”) 
Once Acrobat has been instantiated, you may then instantiate an AcroSec 
object. 
Acrobat Viewer 
ARTSSec.api 
OLE Interface 
Your Client 
Application 
Acrobat API 
control Library utility:C# PDF File Permission Library: add, remove, update PDF file
Copy, Paste, Cut Image in Page. Link: Edit passwordSetting.IsExtract = true; // Copying is allowed. passwordSetting.IsCopy = true; // PDF document assembling is
www.rasteredge.com
control Library utility:VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
PDF Pages Extraction, Copying and Pasting. use specific APIs to copy and get a specific page of PDF also able to copy and paste pages from a PDF document into
www.rasteredge.com
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 5 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
Requirements 
ARTS Security requires the following: 
1.  Full retail Acrobat (Acrobat 4.0, or Acrobat Exchange 3.X). 
2.  The standard security handler must be used ("Standard") 
control Library utility:VB.NET PDF File Permission Library: add, remove, update PDF file
PDF Page. Image: Copy, Paste, Cut Image in Page. passwordSetting.IsExtract = True ' Copying is allowed passwordSetting.IsCopy = True ' PDF document assembling is
www.rasteredge.com
control Library utility:C# HTML5 PDF Viewer SDK to view, annotate, create and convert PDF
Able to protect PDF document from editing, printing, copying and commenting by in ASP.NET, edit images on PDF document, edit PDF document page in ASPX
www.rasteredge.com
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 6 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
Objects 
There is only one object in the library ARTSSECLib : 
1.  AcroSec 
control Library utility:C# TIFF: C#.NET Code to Process TIFF, RasterEdge XDoc.Tiff for .
TIFF, JPEG, GIF, BMP, PNG, PDF, Word and DICOM. inserting, deleting, TIFF file page reordering, merging still supports rotating, resizing, copying and pasting
www.rasteredge.com
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 7 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
Methods 
The AcroSec object has the following methods: 
1.  SetLicenseKey 
2.  OpenAVDocSecure 
3.  ApplyStandardSecurity 
4.  HasOwnerPassword 
5.  HasUserPassword 
6.  IsPrintingDisabled 
7.  IsChangingTheDocumentDisabled 
8.  IsAddingOrChangingNotesAndFormFieldsDisabled 
9.  IsSelectingTextOrGraphicsDisabled 
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 8 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
SetLicenseKey 
Boolean SetLicenseKey ( 
String 
strLicenseKey ) 
Description 
This method is required to ensure that a developer using the 
ARTS Security library is correctly licensed. This method must be 
called with a valid key before any of the other methods may be 
used. 
Parameters 
strLicenseKey 
The license key for the developer 
Return Value 
TRUE if the function call succeeds 
FALSE if the function call is unsuccessful 
Related Methods N/A 
Example: 
Dim strFileToOpen As String 
Dim acroSec As New ARTSSecApp 
Dim AVDoc As CAcroAVDoc 
' SetLicenseKey must be called first 
acroSec.SetLicenseKey "11111-SEC-DEMO1-11111" 
strFileToOpen = Dir(m_txtBaseFolder + "\*.pdf") 
While strFileToOpen <> "" 
Set AVDoc = acroSec.OpenAVDocSecure(m_txtBaseFolder + "\" +  
strFileToOpen, m_txtExistingOwnerPassword) 
AVDoc.Close False 
strFileToOpen = Dir 
Wend 
Set acroSec = Nothing 
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 9 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
OpenAVDocSecure 
AVDoc OpenAVDocSecure ( 
String 
String 
strFileName, 
strUserOrOwnerPassword ) 
Description 
This method allows an implementer to open a secured document 
and obtain an AVDoc object. 
Parameters 
strFileName 
The filename of the PDF to be opened 
strUserOrOwnerPassword 
The user or owner password of the PDF to be opened. 
Return Value 
An AVDoc object if successful, NULL if unsuccessful 
Related Methods AVDoc.OpenAVDoc 
Example: 
Dim strFileToOpen As String 
Dim acroSec As New ARTSSecApp 
Dim AVDoc As CAcroAVDoc 
' SetLicenseKey must be called first 
acroSec.SetLicenseKey "11111-SEC-DEMO1-11111" 
strFileToOpen = Dir(m_txtBaseFolder + "\*.pdf") 
While strFileToOpen <> "" 
Set AVDoc = acroSec.OpenAVDocSecure(m_txtBaseFolder + "\" +  
strFileToOpen, m_txtExistingOwnerPassword) 
AVDoc.Close False 
strFileToOpen = Dir 
Wend 
Set acroSec = Nothing 
ARTS Security Version 1.0 
ARTS Security Version 1.0 Automation Documentation. 
Page 10 of 20 
Copyright (C) 1998-99 A Round Table Solution (ARTS) 
ApplyStandardSecurity 
Boolean ApplyStandardSecurity ( 
String 
String 
Boolean 
String 
Boolean 
String 
Boolean 
Boolean 
Boolean 
Boolean 
Boolean 
strFileName, 
strExistingOwnerPassword, 
bSetUserPassword 
strUserPassword, 
bSetOwnerPassword 
strOwnerPassword, 
bCombinePermissions, 
bDisablePrinting, 
bDisableChangingTheDocument, 
bDisableSelectingTextAndGraphics, 
bDisableAddingOrChangingNotesAndFormFields ) 
Description 
This method allows an implementer to set the user password, 
owner password and/or PDF permissions silently. 
Parameters 
strFileName 
The name of the PDF to be secured 
strExistingOwnerPassword 
The existing owner password if required 
bSetUserPassword 
If this flag is set, then the user password is set with the value 
supplied in strUserPassword 
strUserPassword 
The new user password if desired 
bSetOwnerPassword 
If this flag is set, then the owner password is set with the 
value supplied in strOwnerPassword 
strOwnerPassword 
The new owner password if desired 
bCombinePermissions 
If this flag is set, then the requested permissions are combined 
with the existing document permissions 
bDisablePrinting 
Disable printing the document 
bDisableChangingTheDocument 
Disable changing the document 
bDisableSelectingTextAndGraphics 
Disable selecting text and graphics 
bDisableAddingOrChangingNotesAndFormFields 
Disable adding or changing notes and form fields. 
Return Value 
TRUE if the function call succeeds 
FALSE if the function call is unsuccessful 
Related Methods AcroSec.OpenAVDocSecure 
Documents you may be interested
Documents you may be interested