当前位置:网站首页>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 .
边栏推荐
- STC 32位8051单片机开发实例教程 二 I/O工作模式及其配置
- [research materials] national second-hand housing market monthly report January 2022 - Download attached
- Use of common built-in classes of JS
- Bind this of the current scope for callback functions in other cases such as timers and delayers
- List is divided into sets that meet and do not meet conditions (partitioningby)
- 对金额进行求和
- Solve the problem of slow or failed vscode download
- Flask 常用组件
- PowerDesigner设计Name和Comment 替换
- RichView RichEdit SRichViewEdit PageSize 页面设置与同步
猜你喜欢

Use of common built-in classes of JS

GaussDB(for MySQL) :Partial Result Cache,通过缓存中间结果对算子进行加速

MYSLQ十种锁,一篇文章带你全解析

简单但现代的服务器仪表板Dashdot

ModSim基本使用(Modbus模拟器)

SQL getting started plan-1-select

On the next generation entrance of the metauniverse -- the implementation of brain computer interface

Win11如何取消任务栏隐藏?Win11取消任务栏隐藏的方法

JVM memory model

GC garbage collection
随机推荐
STC 32-bit 8051 single chip microcomputer development example tutorial II i/o working mode and its configuration
Servlet knowledge points
On the next generation entrance of the metauniverse -- the implementation of brain computer interface
Win11暂停更新点不了怎么办?Win11暂停更新是灰色的如何解决?
Gaussdb (for MySQL):partial result cache, which accelerates the operator by caching intermediate results
Modsim basic use (Modbus simulator)
关于元宇宙下一代入口——脑机接口的实现
C # joint halcon Application - Dahua Camera Collection class
运动捕捉系统原理
【无标题】
有意思了!数据库也搞Serverless!
A quietly rising domestic software, low-key and powerful!
list大集合等比分割成多个小list集合
Easycvr accesses the equipment through the national standard gb28181 protocol. What is the reason for the automatic streaming of the equipment?
为定时器和延时器等其它情况的回调函数绑定当前作用域的this
基于图的 Affinity Propagation 聚类计算公式详解和代码示例
Sum the amount
Develop those things: easycvr cluster device management page function display optimization
实例讲解将Graph Explorer搬上JupyterLab