officefileapi-devexpress-dot-pdf-dot-pdfprintersettings-75b431de.md
Specifies the percentage scale factor of the document page to be printed.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Drawing.dll
NuGet Package : DevExpress.Pdf.Drawing
public float Scale { get; set; }
Public Property Scale As Single
| Type | Description |
|---|---|
| Single |
A Single value which represents the scale factor of the document page (the scale is measured as a percentage).
|
You can access this nested property as listed below:
| Library | Object Type | Path to Scale |
|---|---|---|
| WinForms Controls | PdfPageSetupDialogShowingEventArgs |
.PrinterSettings .Scale
| | WPF Controls | PageSetupDialogShowingEventArgs |
.PrinterSettings .Scale
|
The Scale property works in conjunction with the custom scale mode that can be specified by setting the PdfPrinterSettings.ScaleMode property to PdfPrintScaleMode.CustomScale.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Scale property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
pdf-document-api-specify-printer-settings/CS/PdfProcessorPrinterOptions/Program.cs#L23
pdfPrinterSettings.ScaleMode = PdfPrintScaleMode.CustomScale;
pdfPrinterSettings.Scale = 90;
pdf-viewer-use-the-pdf-printer-settings-to-print-a-file/CS/PdfPrinterSettingsDemo/Form1.cs#L33
pdfPrinterSettings.ScaleMode = PdfPrintScaleMode.CustomScale;
pdfPrinterSettings.Scale = 90;
how-to-use-pdf-printer-settings/CS/SpecifyPrinterSettings/MainWindow.xaml.cs#L29
pdfPrinterSettings.ScaleMode = PdfPrintScaleMode.CustomScale;
pdfPrinterSettings.Scale = 90;
pdf-document-api-specify-printer-settings/VB/PdfProcessorPrinterOptions/Program.vb#L19
pdfPrinterSettings.ScaleMode = PdfPrintScaleMode.CustomScale
pdfPrinterSettings.Scale = 90
' Print the document using the specified printer settings.
pdf-viewer-use-the-pdf-printer-settings-to-print-a-file/VB/PdfPrinterSettingsDemo/Form1.vb#L32
pdfPrinterSettings.ScaleMode = PdfPrintScaleMode.CustomScale
pdfPrinterSettings.Scale = 90
' Print the document using the specified printer settings.
See Also