Click or drag to resize

PdfStorageAdapter Class

This class is an adapter for the storage used by a PdfWebControl instance.
Inheritance Hierarchy
SystemObject
  RadPdf.IntegrationPdfStorageAdapter

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public sealed class PdfStorageAdapter : IDisposable

The PdfStorageAdapter type exposes the following members.

Constructors
  NameDescription
Public methodCode examplePdfStorageAdapter
Initializes a new instance of the PdfStorageAdapter class.
Public methodCode examplePdfStorageAdapter(PdfStorageProvider)
Initializes a new instance of the PdfStorageAdapter class when given a string that contains the MS SQL Server connection string.
Top
Methods
  NameDescription
Public methodDeleteDocument(Int32)
Delete a document, all document modifications, and all other document information created by a PdfWebControl instance.
Public methodDeleteDocument(String)
Delete a document, all document modifications, and all other document information created by a PdfWebControl instance.
Public methodDeleteDocumentKey
Delete the DocumentKey used to access a document.
Public methodDeleteDocumentKeys
Delete all DocumentKeys used to access the PdfDocument with this DocumentID.
Public methodDispose
Releases all resources used by the PdfStorageAdapter.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExportDocument(Int32)
Export the document with the given ID to an importable RAD PDF binary format.
Public methodExportDocument(String)
Export the document with the given key to an importable RAD PDF binary format.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDocumentAsPdf(Int32)
Retrieve a document previously loaded into a PdfWebControl instance with all saved modifications, as a PDF.
Public methodCode exampleGetDocumentAsPdf(String)
Retrieve a document previously loaded into a PdfWebControl instance with all saved modifications, as a PDF.
Public methodGetDocumentOriginalAsPdf(Int32)
Retrieve a document previously loaded into a PdfWebControl instance with no modifications, as a PDF.
Public methodGetDocumentOriginalAsPdf(String)
Retrieve a document previously loaded into a PdfWebControl instance with no modifications, as a PDF.
Public methodGetDocumentOverhead
Retrieve the overhead of a document previously loaded into a PdfWebControl instance.
Public methodGetDocumentProperties(Int32)
Retrieve common properties about a document previously loaded into a PdfWebControl instance.
Public methodGetDocumentProperties(String)
Retrieve common properties about a document previously loaded into a PdfWebControl instance.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleRemoveExpiredDocumentKeys
Remove all DocumentKeys which have expired.
Public methodCode exampleRemoveOldDocuments(TimeSpan)
Remove documents older than a given period of time.
Public methodCode exampleRemoveOldDocuments(TimeSpan, Boolean)
Remove documents older than a given period of time.
Public methodCode exampleRemoveOldDocuments(TimeSpan, Boolean, Boolean)
Remove documents older than a given period of time.
Public methodCode exampleRemoveOldPdfs
Remove PDF data from RAD PDF's pdfs table older than a given period of time and not in use by a PdfDocument in storage.
Public methodCode exampleRemoveOldPrintRenderings
Remove all cached print renderings older than a given period of time.
Public methodSetDocumentFileName(Int32, String)
Set the DocumentFileName associated with this document.
Public methodSetDocumentFileName(String, String)
Set the DocumentFileName associated with this document.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Each instance of this class creates a connection to storage database and hence should be disposed using the Dispose method as soon as possible. Public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also