|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.ms.Printing.PrintDocument
com.spire.doc.printing.PrintDocument
public class PrintDocument
Defines a resuable object that sends output to a printer.
Constructor Summary | |
---|---|
PrintDocument()
|
Method Summary | |
---|---|
PageSettings |
getDefaultPageSettings()
Gets page settings that are used as defalts for all pages to be printed. |
boolean |
getOriginAtMargins()
Gets a value indicating whether the position of a graphics object associated with a page is located just inside the user-specified margins or at the top-left corner of the printable area of the page. |
PrinterSettings |
getPrinterSettings()
Gets the printer that prints the documents. |
void |
print()
Starts the document's printing process. |
void |
setOriginAtMargins(boolean value)
Sets a value indicating whether the position of a graphics object associated with a page is located just inside the user-specified margins or at the top-left corner of the printable area of the page. |
Constructor Detail |
---|
public PrintDocument()
Method Detail |
---|
public void setOriginAtMargins(boolean value)
setOriginAtMargins
in class com.spire.ms.Printing.PrintDocument
public boolean getOriginAtMargins()
getOriginAtMargins
in class com.spire.ms.Printing.PrintDocument
public void print()
print
in class com.spire.ms.Printing.PrintDocument
public PageSettings getDefaultPageSettings()
getDefaultPageSettings
in class com.spire.ms.Printing.PrintDocument
public PrinterSettings getPrinterSettings()
getPrinterSettings
in class com.spire.ms.Printing.PrintDocument
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |