ActiveReports 19 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class / CompatibilityMode Property
Example

In This Topic
    CompatibilityMode Property (SectionDocument)
    In This Topic
    Gets or sets a value indicating whether the new cross-platform based rendering implementation or the legacy GDI/GDI+ rendering should be used by the document.
    Syntax
    'Declaration
     
    Public Property CompatibilityMode As CompatibilityModes
    public CompatibilityModes CompatibilityMode {get; set;}

    Property Value

    A CompatibilityModes value. Set the CompatibilityModes.CrossPlatform value for cross-platform text/image rendering. Set the CompatibilityModes.GDI for GDI/GDI+ text/image rendering.
    Remarks
    The default value for the NET Framework is CompatibilityModes.GDI, while for other frameworks it is CompatibilityModes.CrossPlatform. The CompatibilityModes.GDI setting is only compatible with the Windows operating system and is not suitable for use with ASP.NET Core. The CompatibilityModes.CrossPlatform setting is designed for cross-platform rendering.
    Example
    var sectionDocument = new GrapeCity.ActiveReports.Document.SectionDocument();
    sectionDocument.CompatibilityMode = GrapeCity.ActiveReports.Document.CompatibilityModes.CrossPlatform;
    See Also