 |
PdfDocumentOpenMode Enumeration |
Determines how a PDF document is opened.
Namespace: XsPDF.Pdf.IO
Assembly: XsPDF (in XsPDF.dll) Version: 6.11.0.1333 (6.11.0.1333)
Syntax
public enum PdfDocumentOpenMode
Public Enumeration PdfDocumentOpenMode
public enum class PdfDocumentOpenMode
Members
|
Member name |
Value |
Description |
|
Modify |
0 |
The PDF stream is completely read into memory and can be modified. Pages can be deleted or inserted, but it is not possible to extract pages. This mode is useful for modifying an existing PDF document. |
|
Import |
1 |
The PDF stream is opened for importing pages from it. A document opened in this mode cannot be modified. |
|
ReadOnly |
2 |
The PDF stream is completely read into memory, but cannot be modified. This mode preserves the original internal structure of the document and is useful for analyzing existing PDF files. |
|
InformationOnly |
3 |
The PDF stream is partially read for information purposes only. The only valid operation is to call the Info property at the imported document. This option is very fast and needs less memory and is e.g. useful for browsing information about a collection of PDF documents in a user interface. |
See Also
-
How to convert dataset to Microsoft Excel in WinForm Application using CSharp .NET I have a local PDF file saved to my app folder. path is the URI pointed to the PDF file. The following code is used to view the PDF. When I installed adobe reader 9.2 for android, PDF file opens . with bullets on PDF not showing. I removed Adobe Reader 9.2 and installed X instead, the same code will not open the PDF. Android knows the reader installed, so I didn't get error message. I didn't get .
-
-
-
-
Paint bar codes to PDF Would it be possible to use pdf.js to display a PDF file in Android WebView? I know the common solution is to use google doc or launch an intent. However, I wish to open it in my app anyway . . It seems that pdf.js provide a pretty good solution to display pdf in browser. I want to know if I can do the same on Android. I want to download the pdf file to a temporary place first, and then display it in WebView. .
-
-
How to combine Adobe PDFs in WPF using .NET Visual C# You can define your form template in XML and then download these templates to your application. In your application you parse the XML and convert it to PDF drawing instructions. For example your XML . could look like this: <form> <page width="612" height="792"> <line x1="20" y1="20" x2="500" y2="20" /> </page> </form> This XML would generate a PDF file with a single page .
-
-
-
How to break Acrobat PDF on the terminal: /Library/Frameworks/R.framework/Versions/3.1/Resources/library/RWebLogo/extdata/weblogo-3.3/weblogo -f test_seqs.txt -o ~/Desktop/out.pdf -F pdf Change the base directory .
-
-
How to change the rotation PDF page I think that for ".txt.pdf:" to be recognized as an implicit rule, both extensions have to be in the list of suffixes. Try adding .SUFFIXES: .txt .pdf .
-
-
Transforming high quality rasterized bmp from PDF file using PDF Toolkit To close a file, you should have opened it with with statement, which always closes the file whatever happens to the code inside the with block: with open(originalFile,'rb') as pdf . : merger.append(PdfFileReader(pdf)) os.remove(originalFile) This works for me. Just a reminder that, you can close the file since you have added the pdf into the merger. Note that if you just open .
-
Extract multi-page tiff document to text PDF here). Sometimes it makes sense to keep the original relationship around for a fast shortcut crossing over that intermediate node if you don't need that detail. .