PdfSaveOptions.ZoomBehavior
PdfSaveOptions ZoomBehavior property. Gets or sets a value determining what type of zoom should be applied when a document is opened with a PDF viewer.
PdfSaveOptions.ZoomBehavior property
Gets or sets a value determining what type of zoom should be applied when a document is opened with a PDF viewer.
public PdfZoomBehavior ZoomBehavior { get; set; }
Remarks
The default value is None, i.e. no fit is applied.
Examples
Shows how to configure zoom factor in PDF.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.ZoomBehavior = PdfZoomBehavior.ZoomFactor;
pdfSaveOptions.ZoomFactor = 50;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "PdfSaveOptions.ZoomBehavior.pdf", pdfSaveOptions)
.Execute();
See Also
- enum PdfZoomBehavior
- class PdfSaveOptions
- namespace Wordize.Saving
- assembly Wordize