[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ViewerPreferences.PickTrayByPDFSize

PickTrayByPDFSize Property

PickTrayByPDFSize

(PDF 1.7) A flag specifying whether the PDF page size is used to select the input paper tray.

Declaration
public bool? PickTrayByPDFSize { get; set; }
Public Property PickTrayByPDFSize As Boolean?
Examples
PdfSaveOptions options = new PdfSaveOptions();
options.ViewerPreferences.PickTrayByPDFSize = true;
bool? pickTrayByPdfSize = options.ViewerPreferences.PickTrayByPDFSize;
using MemoryStream stream = new MemoryStream();
workbook.Save(stream, options);