ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.ActiveReports Namespace / PrinterSettings Class / UseXpDialog Property
Example

In This Topic
    UseXpDialog Property
    In This Topic
    Gets or sets a value indicating whether the XP style print dialog should be used.
    Syntax
    'Declaration
     
    Public Property UseXpDialog As Boolean
    public bool UseXpDialog {get; set;}

    Property Value

    true to use the XP style print dialog; otherwise, false to use the default print dialog of the current operating system.
    Remarks
    The XP style print dialog provides a user interface consistent with Windows XP, offering a simpler and possibly more familiar option for users accustomed to that environment. This property allows applications to maintain a consistent user experience across different versions of Windows by opting for the classic XP style dialog. It is important to note that while the XP style dialog may offer a nostalgic or consistent experience for some users, newer versions of the print dialog provide enhancements and features not available in the XP style dialog. Consider the target audience and the specific needs of the application when deciding whether to enable this option.
    Example
    This example demonstrates how to enable the XP style print dialog:
    var printerSettings = new GrapeCity.ActiveReports.PrinterSettings();
    printerSettings.UseXpDialog = true;
    // Proceed with printing operations
    See Also