AzureCompatibility Class

Provides an option to fix issues with unexpected output content (such as red crosses X, distorted fonts, etc.) for Printing, Reporting, RichEditDocumentServer and PDF libraries used on the Microsoft Azure Web Sites.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v19.2.dll

Declaration

public static class AzureCompatibility
Public Module AzureCompatibility

Remarks

Set the static AzureCompatibility.Enable property to true at the application startup to resolve issues with rendering and printing in Rich Text Editor (RichEditDocumentServer), Reports and PDF Export libraries on the Microsoft Azure Web Sites.

  1. To export data by using our PDF Library, set the AzureCompatibility.Enable property to true:

    
    protected void Application_Start(object sender, EventArgs e) {
         DevExpress.Utils.AzureCompatibility.Enable = true;
    }
    
  2. To export data by using our XtraPrinting Library(the old export mechanism), set the DevExpress.XtraPrinting.Export.Pdf.PdfGraphics.EnableAzureCompatibility and RichEditControlCompatibility.UsePrintingSystemPdfExport properties to true.

    
    protected void Application_Start(object sender, EventArgs e) {
         DevExpress.XtraPrinting.Export.Pdf.PdfGraphics.EnableAzureCompatibility = true;
         DevExpress.XtraRichEdit.RichEditControlCompatibility.UsePrintingSystemPdfExport = true;
    }
    

Inheritance

Object
AzureCompatibility
See Also