Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfViewerControl.Print(PrinterSettings, Boolean, Int32) Method

OBSOLETE

Use the Print method instead.

Prints the document.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v24.2.dll

NuGet Package: DevExpress.Wpf.PdfViewer

#Declaration

[Obsolete("Use the Print(PdfPrinterSettings printerSettings, bool showPrintStatus = true) overload of this method instead.")]
public virtual void Print(
    PrinterSettings printerSettings,
    bool showPrintStatus = true,
    int maxPrintingDpi = 0
)

#Parameters

Name Type Description
printerSettings PrinterSettings

A PrinterSettings object.

#Optional Parameters

Name Type Default Description
showPrintStatus Boolean True

true to show the printing status; otherwise, false.

maxPrintingDpi Int32 0

An integer value that is the maximum printing DPI.

See Also