Click or drag to resize

PdfResizeManagerViewerPreferences Property

Gets the viewer preferences of the resized document.

Namespace: ExpertPdf.Anywhere.PDFResize
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public ViewerPreferences ViewerPreferences { get; }

Property Value

ViewerPreferences
Remarks
Starts as the loaded document's own viewer preferences, which the resized document keeps. Change a property to change it in the resized document. Available after a document is loaded.
Example
PdfResizeManager manager = new PdfResizeManager();
manager.Load("a4.pdf");
manager.PageSize = PageSize.Letter;
manager.ViewerPreferences.PageMode = PdfViewerPageMode.UseOutlines;
manager.Save("letter.pdf");
See Also