com.spire.pdf.widget
Class PdfDocumentWidget

java.lang.Object
  extended by com.spire.pdf.PdfDocumentBase
      extended by com.spire.pdf.widget.PdfDocumentWidget

public class PdfDocumentWidget
extends PdfDocumentBase

The Spire.Pdf.Parsing namespace contains classes, which are used to load or modify an existing PDF document.


Constructor Summary
PdfDocumentWidget(byte[] file)
           
PdfDocumentWidget(byte[] file, java.lang.String password)
           
PdfDocumentWidget(com.spire.ms.System.IO.Stream file)
           
PdfDocumentWidget(com.spire.ms.System.IO.Stream file, boolean isDisposedStream)
          Load from Stream ,And Used by PdfViewer-Asp
PdfDocumentWidget(com.spire.ms.System.IO.Stream file, java.lang.String password)
           
PdfDocumentWidget(com.spire.ms.System.IO.Stream file, java.lang.String filePassword, boolean isDisposedStream)
          Load from Stream with password,And Used by PdfViewer-Asp
PdfDocumentWidget(java.lang.String filename)
           
PdfDocumentWidget(java.lang.String filename, java.lang.String password)
           
 
Method Summary
 PdfColorSpace getColorSpace()
          Get the color space
 PdfForm getForm()
           
 void setColorSpace(PdfColorSpace value)
           
 
Methods inherited from class com.spire.pdf.PdfDocumentBase
_getForm, close, dispose, getAttachments, getBookmarks, getCompressionLevel, getConformance, getDocumentInformation, getFileStructure, getJavaScripts, getPageLabel, getPages, getPageSettings, getSecurity, getTemplate, getUsedFonts, getViewerPreferences, importPage, importPage, importPageRange, merge, save, save, saveToXPS, setCompressionLevel, setConformance, setFileStructure, setPageLabel, setPageSettings, setTemplate, setViewerPreferences, split, split
 

Constructor Detail

PdfDocumentWidget

public PdfDocumentWidget(java.lang.String filename)

PdfDocumentWidget

public PdfDocumentWidget(java.lang.String filename,
                         java.lang.String password)

PdfDocumentWidget

public PdfDocumentWidget(byte[] file)

PdfDocumentWidget

public PdfDocumentWidget(byte[] file,
                         java.lang.String password)

PdfDocumentWidget

public PdfDocumentWidget(com.spire.ms.System.IO.Stream file,
                         boolean isDisposedStream)
Load from Stream ,And Used by PdfViewer-Asp

Parameters:
file -
isDisposedStream -

PdfDocumentWidget

public PdfDocumentWidget(com.spire.ms.System.IO.Stream file,
                         java.lang.String filePassword,
                         boolean isDisposedStream)
Load from Stream with password,And Used by PdfViewer-Asp

Parameters:
file -
filePassword -
isDisposedStream -

PdfDocumentWidget

public PdfDocumentWidget(com.spire.ms.System.IO.Stream file)

PdfDocumentWidget

public PdfDocumentWidget(com.spire.ms.System.IO.Stream file,
                         java.lang.String password)
Method Detail

getColorSpace

public PdfColorSpace getColorSpace()
Description copied from class: PdfDocumentBase
Get the color space

Specified by:
getColorSpace in class PdfDocumentBase

setColorSpace

public void setColorSpace(PdfColorSpace value)
Specified by:
setColorSpace in class PdfDocumentBase

getForm

public PdfForm getForm()