使用c#应用程序打印.tiff和.pdf文件 [英] printing .tiff and .pdf files using c# application

查看:113
本文介绍了使用c#应用程序打印.tiff和.pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好我的应用程序中的所有



我试图显示存储在服务器中的tiff文件和pdf文件。我给了用户选项,如查看,删除和打印。有一个按钮事件,我计划打印该文件。我尝试使用打印对话框进行打印。它的工作正常,但我无法调整页面设置。我尝试了页面设置对话框,但没有工作。在我们尝试打印文件时,通常会在打印对话框中设置页面,边距,缩放等选项。

请帮助.......

hello all

in my application i am trying to display tiff files and pdf files stored in a server. i have given user option like viewing, deleting and printing. there is a button event on which i am planning to print the file. i tried using print dialog for printing . its working fine but i am not able to adjust page settings. i tried with page setup dialog too but not working. is there any option like setting pages, margins,scaling etc in print dialog as we normally get when we try to print a file.
please help.......

推荐答案

为此,您需要更改文档本身的大小。更改文档的大小以匹配您的值,一旦打印它,将使用文档的尺寸。
To do so, you need to change the size of the document itself. Change the size of the document to match your values and once when you will print it, the dimensions would be used of the document.


这篇关于使用c#应用程序打印.tiff和.pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆