PrintOptions Class
Definition
Options for printing.
public class PrintOptions
Constructors
| Name | Description |
|---|---|
| PrintOptions | No summary available. |
PrintOptions Constructor
public PrintOptions()
Properties
| Name | Description |
|---|---|
| Anchor | Control the print sheet is anchored to where the platform uses a popover (iPad). The viewer fills this in automatically with the toolbar button that opened it. |
| Color | Print in color or grayscale. |
| Copies | Number of copies. |
| Duplex | Duplex printing mode. |
| Orientation | Page orientation. |
| Owner | Top level that owns the system print dialog. The viewer fills this in automatically. |
| PageRange | Page range to print (null for all pages). |
| Scaling | Page scaling mode. |
| Title | Document title for the print job. |
Anchor Property
Control the print sheet is anchored to where the platform uses a popover (iPad). The viewer fills this in automatically with the toolbar button that opened it.
public Avalonia.Visual Anchor { get; set; }
Color Property
Print in color or grayscale.
public bool Color { get; set; }
Copies Property
Number of copies.
public int Copies { get; set; }
Duplex Property
Duplex printing mode.
public Avalonia.Controls.Pdf.Services.DuplexMode Duplex { get; set; }
Orientation Property
Page orientation.
public Avalonia.Controls.Pdf.Services.PageOrientation Orientation { get; set; }
Owner Property
Top level that owns the system print dialog. The viewer fills this in automatically.
public Avalonia.Controls.TopLevel Owner { get; set; }
PageRange Property
Page range to print (null for all pages).
public Avalonia.Controls.Pdf.Services.PageRange PageRange { get; set; }
Scaling Property
Page scaling mode.
public Avalonia.Controls.Pdf.Services.PageScaling Scaling { get; set; }
Title Property
Document title for the print job.
public string Title { get; set; }