Click or drag to resize

DefaultPdfIntegrationProvider Class

Default implementation of PdfIntegrationProvider.
Inheritance Hierarchy
SystemObject
  RadPdf.IntegrationPdfIntegrationProvider
    RadPdf.IntegrationDefaultPdfIntegrationProvider

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public class DefaultPdfIntegrationProvider : PdfIntegrationProvider

The DefaultPdfIntegrationProvider type exposes the following members.

Constructors
  NameDescription
Public methodDefaultPdfIntegrationProvider
Creates a new instance of the DefaultPdfIntegrationProvider class.
Top
Properties
  NameDescription
Public propertyCode exampleAdvancedSettings
Gets an object that specifies the HTTP settings used with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.)
Public propertyCode exampleFontResources
Gets an object that specifies the font resources available in RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.)
Public propertyCode exampleHttpSettings
Gets an object that specifies the HTTP settings used with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.)
Public propertyCode exampleLicense
Gets or sets an object that represents the Red Software issued license currently used by RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.)
Public propertyCode exampleLiteSessionProvider
Gets or sets an object that specifies the session provider used for Lite Documents with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.)
Public propertyCode exampleLiteStorageProvider
Gets or sets an object that specifies the storage provider used for Lite Documents with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.)
Public propertyCode examplePdfWebControlResources
Gets or sets a ResourceManager used by the PdfWebControl for visible resources (e.g. text strings used in the interface).
(Inherited from PdfIntegrationProvider.)
Public propertyCode exampleStorageProvider
Gets an object that specifies the storage provider used with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.)
Public propertyCode exampleWcfSettings
Gets an object that specifies the WCF settings used with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 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 methodOnDocumentAppending
Called before a document is appended.
(Inherited from PdfIntegrationProvider.)
Public methodOnDocumentCreated
Called after a document is created.
(Inherited from PdfIntegrationProvider.)
Public methodCode exampleOnDocumentDownloading
Called before a document is downloaded.
(Inherited from PdfIntegrationProvider.)
Public methodOnDocumentEmbeddedFileDownloading
Called before an embedded file is download from a document.
(Inherited from PdfIntegrationProvider.)
Public methodCode exampleOnDocumentInit
Called before a document is loaded, as the document interface is initializing.
(Inherited from PdfIntegrationProvider.)
Public methodCode exampleOnDocumentPrinting
Called before a document is printed.
(Inherited from PdfIntegrationProvider.)
Public methodCode exampleOnDocumentSaved
Called after a document is saved.
(Inherited from PdfIntegrationProvider.)
Public methodCode exampleOnDocumentSaving
Called before a document is saved.
(Inherited from PdfIntegrationProvider.)
Public methodOnDocumentSearching
Called before a document is searched.
(Overrides PdfIntegrationProviderOnDocumentSearching(DocumentSearchingEventArgs).)
Public methodOnDocumentUploading
Called before a document is uploaded into an empty PdfWebControlLite instance.
(Inherited from PdfIntegrationProvider.)
Public methodCode exampleOnHttpHandlerException
Called when an exception occurs in a call to the PdfHttpHandler configured.
(Inherited from PdfIntegrationProvider.)
Public methodOnInternalWarning
Called when an internal warning occurs.
(Inherited from PdfIntegrationProvider.)
Public methodOnObjectDataAdding
Called before an object's data (e.g. the image data for an PdfImageShape object) is added.
(Overrides PdfIntegrationProviderOnObjectDataAdding(ObjectDataAddingEventArgs).)
Public methodOnPageRenderOnDemand
Called before an page is rendered on demand.
(Inherited from PdfIntegrationProvider.)
Public methodCode exampleProcessAppendDataRequest
Called when processing a request for object data initiated by the Client API which set the user mode to object insertion with a custom object key.
(Inherited from PdfIntegrationProvider.)
Public methodCode exampleProcessObjectDataRequest
Called when processing a request for object data initiated by the Client API which set the user mode to object insertion with a custom object key.
(Inherited from PdfIntegrationProvider.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
If a custom implementation of PdfIntegrationProvider is not registered in a web application's web.config file, DefaultPdfIntegrationProvider is used.
Examples
The following web.config file uses the default Integration Provider and utilizes some of its legacy AppSettings.
XML
<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="RadPdfConnectionString" value="Server=.\SQLExpress;Database=RadPdf;Trusted_Connection=Yes;"/>
    <add key="RadPdfLicenseKey" value="DEMO"/>
    <!-- No integration provider is specified, so DefaultPdfIntegrationProvider is used --> 

    <!-- Legacy AppSettings for use with DefaultPdfIntegrationProvider --> 
    <add key="RadPdfDocumentOverheadMax" value="1024"/> <!-- Max of 1MB document overhead -->
    <add key="RadPdfHttpCompression" value="true"/> <!-- Use HTTP compression (e.g. gzip) -->
    <add key="RadPdfSearchTermMin" value="3"/> <!-- Don't search for terms less than 3 characters -->
    <add key="RadPdfServiceLocation" value="localhost:18104"/> <!-- Service is on this computer at the default port -->
  </appSettings>
  <system.web>
    <httpHandlers>
      <add path="RadPdf.axd" verb="GET,POST" type="RadPdf.Web.HttpHandler.PdfHttpHandler"/>
    </httpHandlers>
  </system.web>
  <!--
    The system.webServer element is for use with IIS 7 (and later) when Managed Pipeline Mode is set to "Integrated".
    It will be ignored in other versions of IIS.
    -->
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <handlers>
      <add path="RadPdf.axd" verb="GET,POST" name="PdfHttpHandler" preCondition="integratedMode" type="RadPdf.Web.HttpHandler.PdfHttpHandler"/>
    </handlers>
  </system.webServer>
</configuration>
See Also