GraphDocumentPrintingShowPrintDialogAndPrint Method |
Shows the print dialog to choose the printer, and then prints the document.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool ShowPrintDialogAndPrint(
this GraphDocument doc
)
Parameters
- doc GraphDocument
- The graph document to print out.
Return Value
BooleanTrue if user closed the dialog with OK and the document was printed, false if user cancelled the dialog or document failed to print.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
GraphDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also