printDocument怎么设置打印的方向

[复制链接]
查看11 | 回复2 | 2010-6-22 23:28:46 | 显示全部楼层 |阅读模式
我要打印的内容用纵向话内容打不全。。
我想要改成横向的
C#.net2005

回复

使用道具 举报

千问 | 2010-6-22 23:28:46 | 显示全部楼层
你是不是自己写一个打印类来操作的?若果是的话就看一下这个打印类(网上找的,我们老师讲过):using System;using System.Collections.Generic;using System.Text;using System.Drawing;using System.Drawing.Printing;using System.Windows.Forms;namespace zilvhui{
class daying
{
private DataGridView[] dataGridView;
private Print
回复

使用道具 举报

千问 | 2010-6-22 23:28:46 | 显示全部楼层
PrintDocument.PrinterSettings.LandscapeAnglehttp://msdn.microsoft.com/zh-cn/library/system.drawing.printing.printersettings.landscapeangle(v=VS.80).aspx
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行