当前位置:网站首页>Richview trvdocparameters page parameter settings
Richview trvdocparameters page parameter settings
2022-07-01 20:02:00 【lyhoo163】
RichView TRVDocParameters Page setup
One 、TRVDocParameters
This is a TRichView.DocParameters A type of . It contains document and page properties , Can be written to or from RVF (RichView Format ) and RTF( Rich text format ) Read . Components do not use these properties , But you can use AssignDocParameters Method assigns them to TRVPrint.

Two 、 attribute :
Units – Page margins 、 Paper size 、 Measurement unit of header and footer position ;
PageWidth, ageHeight – Page size ;
Orientation – Page orientation ;
LeftMargin, RightMargin, TopMargin, BottomMargin – Page margins ;
MirrorMargins – Allow left and right margins to be swapped on even pages ;
HeaderY, FooterY – Position of header and footer ;
TitlePage Show / Hide the header and footer of the first page ;
FacingPages – Show / Hide headers and footers of even pages ;
ZoomMode – Zoom mode ;
ZoomPercent – Zoom percentage .
Author, Title, Comments – author , title , Comment on - Text attribute .
Be careful :Units The default value of rvuInches( centimeter ), Another value of it :rvuPixels( A unit = 1/Style, If Style = nil, The value is 1/96 Inch )
Not right Units Direct assignment , You should use ConvertToUnits Convert all sizes to new units .
3、 ... and 、 Set up
procedure TRichView_TEMP_Frm.Button7Click(Sender: TObject);
var DP: TRVDocParameters;
begin
DP := SRichViewEdit1.RichViewEdit.DocParameters;
DP.Units := rvuMillimeters;
DP.PageWidth := 210;
DP.PageHeight := 297;
DP.LeftMargin := 30;
DP.RightMargin := 15;
DP.TopMargin := 20;
DP.BottomMargin := 20;
DP.HeaderY := 10;
DP.FooterY := 10;
end;
The above is usually A4 Parameter Settings .
边栏推荐
- Easycvr accesses the equipment through the national standard gb28181 protocol. What is the reason for the automatic streaming of the equipment?
- Win11 how to hide the taskbar? Win11 method to hide the taskbar
- Servlet knowledge points
- 【蓝桥杯Web】2022年第十三届蓝桥杯Web大学组国赛真题解析
- 优质笔记软件综合评测和详细盘点(一) Notion、Obsidian、RemNote、FlowUs
- On the next generation entrance of the metauniverse -- the implementation of brain computer interface
- MySQL reports an error can't create table 'demo01 tb_ Student‘ (errno: 150)*
- Battery simulation of gazebo robot
- Interesting! Database is also serverless!
- 数据分析师听起来很高大上?了解这几点你再决定是否转型
猜你喜欢

Interesting! Database is also serverless!
![Leetcode 1380 lucky numbers in matrix [array] the leetcode path of heroding](/img/56/0c7f39406814b5bf92eca5f6670e10.jpg)
Leetcode 1380 lucky numbers in matrix [array] the leetcode path of heroding

优质笔记软件综合评测和详细盘点(一) Notion、Obsidian、RemNote、FlowUs

【无标题】

STC 32-bit 8051 single chip microcomputer development example tutorial II i/o working mode and its configuration

运动捕捉系统原理

fastDFS入门

EasyCVR集群视频广场页面切换时,请求流未能终止的问题优化

JS proxy
![[research materials] national second-hand housing market monthly report January 2022 - Download attached](/img/c8/a205ddc2835c87efa38808cf31f59e.jpg)
[research materials] national second-hand housing market monthly report January 2022 - Download attached
随机推荐
[research materials] iResearch tide Watching: seven major trends in the clothing industry - Download attached
大厂做狼,小厂做狗?
写博客文档
Win11 how to hide the taskbar? Win11 method to hide the taskbar
STC 32-bit 8051 single chip microcomputer development example tutorial three program compilation setting and download
Develop those things: easycvr cluster device management page function display optimization
一个程序员如何快速成长
docker ubuntu容器中安装mysql遇到的问题
C # joint Halcon application - Dahua camera acquisition class
Arduino Stepper库驱动28BYJ-48步进电机测试程序
ORA-01950
MySQL reports an error can't create table 'demo01 tb_ Student‘ (errno: 150)*
开发那些事儿:EasyCVR集群设备管理页面功能展示优化
list大集合等比分割成多个小list集合
毕业季 | 华为专家亲授面试秘诀:如何拿到大厂高薪offer?
Use of common built-in classes of JS
Image acquisition and playback of coaxpress high speed camera based on pxie interface
[untitled]
Object creation
Detailed configuration of network security "Splunk" in national vocational college skills competition