The page print settings.
Namespace: Spire.Pdf.PrintAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfPrintSettings : IDisposable
Public Class PdfPrintSettings Implements IDisposable
public ref class PdfPrintSettings : IDisposable
type PdfPrintSettings = class interface IDisposable end
Members
| All Members | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| BeginPrint |
Occurs when the Spire.pdf.PdfDocument.Print() method is called
and before the first page of the document prints.
| |
| CanDuplex |
Get a value indicating whether the printer supports double-sided printing.
| |
| Collate |
Get or set a value indicating whether the printed document is collated.
| |
| Color |
Get or set a value indicating whether the page should be printed in color.
true if the page should be printed in color; otherwise, false. The default
is determined by the printer.
| |
| Copies |
Get or set the number of copies of the document to print.
| |
| Dispose()()()() |
Releases all resources used.
| |
| Dispose(Boolean) |
Releases all resources used.
| |
| DocumentName |
Get or set the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
| |
| Duplex |
Get or set the printer setting for double-sided printing.
| |
| EndPrint |
Occurs when the last page of the document has printed.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Destructor
(Overrides Object..::..Finalize()()()().) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsValid |
Gets a value indicating whether the System.Drawing.Printing.PrinterSettings.PrinterName property designates a valid printer.
| |
| Landscape |
Get or set a value indicating whether the page is printed in landscape or portrait orientation.
Returns:
True if the page should be printed in landscape orientation; otherwise, false.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| PaperSettings |
Occurs immediately before print each paper.
Note: Ignore on MacOS/Linux platform.
| |
| PaperSize |
Get or set the size of a piece of paper.
| |
| PrintController |
Get or set the print controller that guides the printing process.
| |
| PrinterName |
Get or set the name of printer which is on printing pdf document.
| |
| PrinterResolutionKind |
Get or set the printer resolution kind.
| |
| PrintFromPage |
Get the pagenumber which you choose as the start page to printing.
| |
| PrintPage |
Occurs when the output to print for the current page is needed.
| |
| PrintPages |
Get the user has specified print pages.
| |
| PrintToFile(String) |
Set printing to file.
| |
| PrintToPage |
Get the pagenumber which you choose as the final page to printing.
| |
| QueryPageSettings |
Occurs immediately before each Spire.pdf.PdfDocument.PrintSettings.PrintPage
event.
| |
| SelectBookletLayout()()()() |
Select booklet layout.
| |
| SelectBookletLayout(PdfBookletBindingMode) |
Select booklet layout.
| |
| SelectBookletLayout(PdfBookletSubsetMode) |
Select booklet layout.
| |
| SelectBookletLayout(PdfBookletSubsetMode, PdfBookletBindingMode) |
Select booklet layout.
| |
| SelectMultiPageLayout()()()() |
Select muti page to one paper layout.
Default rows = 2, columns = 2, hasPageBorder = false, pageOrder = PdfMultiPageOrder.Horizontal.
| |
| SelectMultiPageLayout(Int32) |
Select muti page to one paper layout.
| |
| SelectMultiPageLayout(Int32, Int32) |
Select muti page to one paper layout.
| |
| SelectMultiPageLayout(Int32, Int32, Boolean) |
Select muti page to one paper layout.
| |
| SelectMultiPageLayout(Int32, Int32, Boolean, PdfMultiPageOrder) |
Select muti page to one paper layout.
| |
| SelectPageRange(Int32, Int32) |
Set print page range.
| |
| SelectSinglePageLayout()()()() |
Select one page to one paper layout.
Default pageScalingMode = PdfSinglePageScalingMode.FitSize, autoPortraitOrLandscape = true, customScaling = 100f.
| |
| SelectSinglePageLayout(PdfSinglePageScalingMode) |
Select one page to one paper layout.
| |
| SelectSinglePageLayout(PdfSinglePageScalingMode, Boolean) |
Select one page to one paper layout.
| |
| SelectSinglePageLayout(PdfSinglePageScalingMode, Boolean, Single) |
Select one page to one paper layout.
| |
| SelectSomePages(array<Int32>[]()[][]) |
Set print some pages.
| |
| SelectSplitPageLayout()()()() |
Select split page to muti paper layout.
| |
| SetPaperMargins(Int32, Int32, Int32, Int32) |
Set paper margins,measured in hundredths of an inch.
| |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Print..::..PdfPrintSettings
Spire.Pdf.Print..::..PdfPrintSettings