'Declaration Public Shared Function PrintDocument( _ ByVal document As C1Document, _ ByVal pdf As C1.Xaml.Pdf.C1PdfDocument, _ ByVal marginInPoints As Thickness, _ Optional ByVal handler As Action(Of Object,EventArgs) _ ) As Boolean
public static bool PrintDocument( C1Document document, C1.Xaml.Pdf.C1PdfDocument pdf, Thickness marginInPoints, Action<object,EventArgs> handler )
Parameters
- document
- The source document.
- The PDF document.
- marginInPoints
- The margin in points.
- handler
- The handler which is fired when PrintDocument is completed.
Return Value
True if the print was successful