Class DuplexMode
The paper handling option to use when printing the file from the print dialog.
Inheritance
System.Object
DuplexMode
Namespace: Syncfusion.Pdf
Assembly: Syncfusion.Pdf.UWP.dll
Syntax
public sealed class DuplexMode : Enum
Examples
//Source document.
PdfLoadedDocument lDoc = new PdfLoadedDocument("input.pdf");
//Create a new document.
PdfDocument document = new PdfDocument();
//Appending the document with source document.
document.Append(lDoc);
//Set page layout.
document.ViewerPreferences.Duplex = DuplexMode.DuplexFlipShortEdge;
//Save the document.
document.Save("Output.pdf");
//Close the documents.
document.Close(true);
lDoc.Close(true);
'Source document.
Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("input.pdf")
'Create a new document.
Dim document As PdfDocument = New PdfDocument()
'Appending the document with source document.
document.Append(lDoc)
'Set page layout.
document.ViewerPreferences.Duplex = DuplexMode.DuplexFlipShortEdge
'Save the document.
document.Save("Output.pdf")
'Close the documents.
document.Close(True)
lDoc.Close(True)
Fields
DuplexFlipLongEdge
Duplex and flip on the long edge of the sheet.
Declaration
public const DuplexMode DuplexFlipLongEdge
Field Value
Type |
---|
DuplexMode |
DuplexFlipShortEdge
Duplex and flip on the short edge of the sheet.
Declaration
public const DuplexMode DuplexFlipShortEdge
Field Value
Type |
---|
DuplexMode |
None
Default Value
Declaration
public const DuplexMode None
Field Value
Type |
---|
DuplexMode |
Simplex
Print single-sided.
Declaration
public const DuplexMode Simplex
Field Value
Type |
---|
DuplexMode |