Back to Devexpress

AzureCompatibility.Enable Property

corelibraries-devexpress-dot-utils-dot-azurecompatibility.md

latest2.3 KB
Original Source

AzureCompatibility.Enable Property

Specifies whether or not the PDF export mode is Azure-compatible.

Namespace : DevExpress.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public static bool Enable { get; set; }
vb
Public Shared Property Enable As Boolean

Property Value

TypeDescription
Boolean

true if the PDF export is Azure-compatible; otherwise false.

|

Remarks

The AzureCompatibility.Enable is a static property. Specify it at application startup as follows:

csharp
DevExpress.Utils.AzureCompatibility.Enable = true;
vb
DevExpress.Utils.AzureCompatibility.Enable = True

To use the AzureCompatibility.Enable property in your code, add a reference to the DevExpress.Data.v25.2.dll assembly to your project.

When you set the Enable property to true, specific GDI/GDI+ calls, which are not supported in Azure, are disabled. Other methods are used to draw content.

Important

Starting from v24.2, the following products use the Skia-based drawing engine when hosting on Azure (Linux):

The AzureCompatibility.Enable no longer has effect for these products.

See Also

AzureCompatibility Class

AzureCompatibility Members

DevExpress.Utils Namespace