码迷,mamicode.com
首页 > 其他好文 > 详细

打印机横向

时间:2015-07-10 13:04:13      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:

Portrait 纵向

landscape  横向

RM_reg.pas ;TRMPageSetupForm

打印机设置RM_PageSetup.dfm

 TRMPageSetting定义在RM_Printer.pas

TRMPrinterOrientation = (rmpoPortrait, rmpoLandscape);

 

TRMPageSetting

property PageOr: TRMPrinterOrientation read FPageOr write SetPageOr;

 

TRMPageSetupForm = class(TForm)

property PageSetting: TRMPageSetting read FPageSetting;

 

TRMPageLayout = class(TPersistent)

property PageOrientation: TRMPrinterOrientation read FPageOr write FPageOr;

 

调用打印机设置窗口

RM_reg.pas

procedure TRMPageLayoutProperty.Edit;

打印机横向

标签:

原文地址:http://www.cnblogs.com/cb168/p/4635216.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!