Skip to main content

AzureCompatibility.Enable Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static bool Enable { get; set; }

Property Value

Type Description
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:

DevExpress.Utils.AzureCompatibility.Enable = true;

To use the AzureCompatibility.Enable property in your code, add a reference to the DevExpress.Data.v23.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.

Tip

You can use the AzureCompatibility.Enable property in Docker containers. It allows you to render and print content in environments where the GDI engine is not available.

See Also