PdfViewer.PrintDocumentWithSetup
İçindekiler
[
Saklamak
]PdfViewer.PrintDocumentWithSetup metodu
Pdf belgesini bir ayar iletişim kutusuyla yazdırır. İletişim kutusunu kullanarak bir yazıcı seçin.
public void PrintDocumentWithSetup()
Örnekler
[C#]
dfViewer viewer = new PdfViewer();
iewer.BindPdf(@"d:\test.pdf");
iewer.AutoResize = true; //print the file with adjusted size
iewer.AutoRotate = true; //print the file with adjusted rotation
iewer.PrintPageDialog = false; //do not produce the page number dialog when printing
iewer.PrintDocumentWithSetup();
iewer.Close();
VisualBasic]
im viewer As New PdfViewer()
iewer.BindPdf(@"d:\test.pdf")
iewer.AutoResize = True 'print the file with adjusted size
iewer.AutoRotate = True 'print the file with adjusted rotation
iewer.PrintPageDialog = False 'do not produce the page number dialog when printing
iewer.PrintDocumentWithSetup()
iewer.Close()
Ayrıca Bakınız
- sınıf PdfViewer
- ad alanı Aspose.Pdf.Facades
- derleme Aspose.PDF