当前位置:网站首页>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 .
边栏推荐
- Procédure de mesure du capteur d'accord vibrant par le module d'acquisition d'accord vibrant
- How can a programmer grow rapidly
- GaussDB(for MySQL) :Partial Result Cache,通过缓存中间结果对算子进行加速
- 2022/5/23-2022/5/30
- Simple but modern server dashboard dashdot
- Use of common built-in classes of JS
- 实例讲解将Graph Explorer搬上JupyterLab
- PowerDesigner design name and comment replacement
- Hls4ml/vivado HLS error reporting solution
- C#聯合halcon應用——大華相機采集類
猜你喜欢
Is Dao safe? Build finance encountered a malicious governance takeover and was looted!
[research materials] iResearch tide Watching: seven major trends in the clothing industry - Download attached
Process steps of vibrating wire acquisition module for measuring vibrating wire sensor
【多线程】 实现单例模式 ( 饿汉、懒汉 ) 实现线程安全的单例模式 (双重效验锁)
RichView 文档中的 ITEM
[research materials] Huawei Technology ICT 2021: at the beginning of the "Yuan" year, the industry is "new" -- download attached
What if win11 can't pause the update? Win11 pause update is gray. How to solve it?
Hls4ml reports an error the board_ part definition was not found for tul. com. tw:pynq-z2:part0:1.0.
EURA欧瑞E1000系列变频器使用PID实现恒压供水功能的相关参数设置及接线
Leetcode 1380 lucky numbers in matrix [array] the leetcode path of heroding
随机推荐
Myslq ten kinds of locks, an article will take you to fully analyze
Leetcode 1380 lucky numbers in matrix [array] the leetcode path of heroding
Using win7 vulnerability to crack the system login password
Develop those things: easycvr cluster device management page function display optimization
How to use console Log print text?
GaussDB(for MySQL) :Partial Result Cache,通过缓存中间结果对算子进行加速
开发那些事儿:EasyCVR平台添加播放地址鉴权功能
Source code series of authentic children -inheritablethreadlocal (line by line source code takes you to analyze the author's ideas)
STC 32位8051单片机开发实例教程 二 I/O工作模式及其配置
Object creation
What if win11 can't pause the update? Win11 pause update is gray. How to solve it?
P2433 [deep foundation 1-2] primary school mathematics n in one
DS Transunet:用于医学图像分割的双Swin-Transformer U-Net
qobject_ Cast usage
RichView RichEdit SRichViewEdit PageSize 页面设置与同步
Develop those things: easycvr platform adds playback address authentication function
开发那些事儿:EasyCVR集群设备管理页面功能展示优化
振弦采集模块测量振弦传感器的流程步骤
DS transunet: Dual Swing transformer u-net for medical image segmentation
STC 32位8051单片机开发实例教程 三 程序编译设置与下载