DefaultPdfIntegrationProvider Class |
Namespace: RadPdf.Integration
The DefaultPdfIntegrationProvider type exposes the following members.
Name | Description | |
---|---|---|
![]() | DefaultPdfIntegrationProvider |
Creates a new instance of the DefaultPdfIntegrationProvider class.
|
Name | Description | |
---|---|---|
![]() ![]() | AdvancedSettings |
Gets an object that specifies the HTTP settings used with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | FontResources |
Gets an object that specifies the font resources available in RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | HttpSettings |
Gets an object that specifies the HTTP settings used with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | License |
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.) |
![]() ![]() | LiteSessionProvider |
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.) |
![]() ![]() | LiteStorageProvider |
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.) |
![]() ![]() | PdfWebControlResources |
Gets or sets a ResourceManager used by the PdfWebControl for visible resources (e.g. text strings used in the interface).
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | StorageProvider |
Gets an object that specifies the storage provider used with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | WcfSettings |
Gets an object that specifies the WCF settings used with RAD PDF applications using this integration provider.
(Inherited from PdfIntegrationProvider.) |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDocumentAppending |
Called before a document is appended.
(Inherited from PdfIntegrationProvider.) |
![]() | OnDocumentCreated |
Called after a document is created.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | OnDocumentDownloading |
Called before a document is downloaded.
(Inherited from PdfIntegrationProvider.) |
![]() | OnDocumentEmbeddedFileDownloading |
Called before an embedded file is download from a document.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | OnDocumentInit |
Called before a document is loaded, as the document interface is initializing.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | OnDocumentPrinting |
Called before a document is printed.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | OnDocumentSaved |
Called after a document is saved.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | OnDocumentSaving |
Called before a document is saved.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | OnDocumentSearching |
Called before a document is searched.
(Inherited from PdfIntegrationProvider.) |
![]() | OnDocumentUploading |
Called before a document is uploaded into an empty PdfWebControlLite instance.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | OnHttpHandlerException |
Called when an exception occurs in a call to the RAD PDF Middleware.
(Inherited from PdfIntegrationProvider.) |
![]() | OnInternalWarning |
Called when an internal warning occurs.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | OnObjectDataAdding |
Called before an object's data (e.g. the image data for an PdfImageShape object) is added.
(Inherited from PdfIntegrationProvider.) |
![]() | OnPageRenderOnDemand |
Called before an page is rendered on demand.
(Inherited from PdfIntegrationProvider.) |
![]() ![]() | ProcessAppendDataRequest |
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.) |
![]() ![]() | ProcessObjectDataRequest |
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.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using RadPdf; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddRazorPages(); builder.Services.AddSession(); var app = builder.Build(); app.UseStaticFiles(); app.UseRouting(); app.UseSession(); app.UseAuthorization(); // Or however you normally process page requests app.MapRazorPages(); // Create middleware settings RadPdfCoreMiddlewareSettings settings = new RadPdfCoreMiddlewareSettings() { // Add SQL Server Connection String, if not using Lite Documents // Sample connection string below connects to a SQL Server Express instance on localhost // TrustServerCertificate=True is set to avoid a trust exception (e.g. "The certificate chain was issued by an authority that is not trusted.") ConnectionString = @"Server=.\SQLExpress;Database=RadPdf;Trusted_Connection=Yes;TrustServerCertificate=True;", // Add License Key LicenseKey = "DEMO", // Attach the Default Integration Provider IntegrationProvider = new DefaultPdfIntegrationProvider() // To run RAD PDF without the System Service, add UseService = false // If using Lite Documents without the System Service, a LiteStorageProvider must also be implemented //UseService = false }; // Disable logging settings.IntegrationProvider.EnableLogging = false; // Add RAD PDF's middleware to app app.UseRadPdf(settings); app.Run();