📄 interface.htm
字号:
<tr>
<td WIDTH="449" VALIGN="TOP"><font FACE="Courier New" SIZE="2">procedure <a
href="#WriteLineAligned">WriteLineAligned</a>(const AAlignment: TAlignment; <br>
const Line: String);</font></td>
<td WIDTH="28" VALIGN="TOP"><font FACE="Courier New" SIZE="2"><b><p ALIGN="CENTER"></b></font> </td>
<td WIDTH="28" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="25" VALIGN="TOP" align="center"><strong>x</strong></td>
</tr>
<tr>
<td WIDTH="449" VALIGN="TOP"><font FACE="Courier New" SIZE="2">procedure <a
href="#WriteLines">WriteLines</a>(const LinesAsTable: Boolean);</font></td>
<td WIDTH="28" VALIGN="TOP"><font FACE="Courier New" SIZE="2"><b><p ALIGN="CENTER"></b></font> </td>
<td WIDTH="28" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="25" VALIGN="TOP" align="center"><strong>x</strong></td>
</tr>
<tr>
<td WIDTH="449" VALIGN="TOP"><font FACE="Courier New" SIZE="2">procedure <a
href="#WriteTableLine">WriteTableLine</a>(const Line: String);</font></td>
<td WIDTH="28" VALIGN="TOP"><font FACE="Courier New" SIZE="2"><b><p ALIGN="CENTER"></b></font> </td>
<td WIDTH="28" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="25" VALIGN="TOP" align="center"><strong>x</strong></td>
</tr>
<tr>
<td WIDTH="449" VALIGN="TOP"><font FACE="Courier New" SIZE="2">procedure <a
href="#ZoomToFit">ZoomToFit</a>;</font></td>
<td WIDTH="28" VALIGN="TOP"><font FACE="Courier New" SIZE="2"><b><p ALIGN="CENTER"></b></font> </td>
<td WIDTH="28" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="25" VALIGN="TOP" align="center"><strong> </strong></td>
</tr>
<tr>
<td WIDTH="449" VALIGN="TOP"><font FACE="Courier New" SIZE="2">procedure <a
href="#ZoomToHeight">ZoomToHeight</a>;</font></td>
<td WIDTH="28" VALIGN="TOP"><font FACE="Courier New" SIZE="2"><b><p ALIGN="CENTER"></b></font> </td>
<td WIDTH="28" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="25" VALIGN="TOP" align="center"><strong> </strong></td>
</tr>
<tr>
<td WIDTH="449" VALIGN="TOP"><font FACE="Courier New" SIZE="2">procedure <a
href="#ZoomToWidth">ZoomToWidth</a>;</font></td>
<td WIDTH="28" VALIGN="TOP"><font FACE="Courier New" SIZE="2"><b><p ALIGN="CENTER"></b></font> </td>
<td WIDTH="28" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="22" VALIGN="TOP" align="center"><strong> </strong></td>
<td WIDTH="25" VALIGN="TOP" align="center"><strong> </strong></td>
</tr>
</table>
<font COLOR="#000000">
<p ALIGN="CENTER"><img SRC="line1.gif" WIDTH="573" HEIGHT="6"></p>
</font><font FACE="Courier New" SIZE="2">
<p><strong>property <a NAME="AbortOnCancel">AbortOnCancel</a>: Boolean;</strong></p>
<p>Determines what happens when the user cancels printing.</p>
<p>property AbortOnCancel: Boolean default False;</p>
<p>Description</p>
<p>If the user presses the Cancel button while printing and AbortOnCancel is True, then
TPrinter.Abort is called. If AbortOnCancel is False, then TPrinter.EndDoc is called.</p>
<p><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></p>
<p><strong>property <a NAME="Alignment">Alignment</a>: Talignment;</strong></p>
<p>Alignment determines how text is aligned on the page.<br>
property Alignment: TAlignment default taLeftJustify;<br>
Description<br>
Use Alignment to change the way text is printed with WriteLine or WriteLines. Alignment
can be one of the following values:<br>
<br>
<strong>Value Meaning</strong><br>
taLeftJustify Align text to the left side of the page<br>
taCenter Center text horizontally on the
page.<br>
taRightJustify Align text to the right side of the page.</p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>property <a NAME="Collate">Collate</a>: Boolean;</strong></p>
<p>Controls whether multiple copies are collated when physically printed.<br>
property Collate: Boolean default True;<br>
Description<br>
If Collate is True and multiple copies are being printed, then pages are printed in the
order: 1,2,3,…,1,2,3,…,1,2,3,.... If Collate is False and multiple copies are
being printed, then pages are printed in the order 1,1,1,...,2,2,2,…,3,3,3,….
Collate has no effect when only one copy is being printed. Collate also has no effect on
the preview window.<br>
See Also: <a href="#Copies">Copies</a></p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>property <a NAME="Copies">Copies</a>: Integer;</strong></p>
<p>Controls how many copies of a document will be physically printed.<br>
property Copies: Cardinal default 1;<br>
Description<br>
Copies has no effect on the preview window.<br>
See Also: <a href="#Collate">Collate</a></p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>property <a name="DefaultColWidth">DefaultColWidth</a>: Extended;</strong></p>
<p>Default column width to use when printing table lines.<br>
property DefaultColWidth: TMeasurement;<br>
Description<br>
The column width that will be used if the HeaderFormat, FooterFormat, or TableFormat
contain invalid or missing column widths.</p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>property <a name="Header">Header</a>: String;<br>
property HeaderText: String;</strong></p>
<p>The text to be printed at the top of each page.<br>
property Header: String;<br>
Description<br>
The Header property is a table string that is laid out as specified by the HeaderFormat
property. For more information see: Table String.<br>
See Also: <a href="#HeaderFont">HeaderFont</a>, <a href="#FriendlyHeader">FriendlyHeader</a>,
<a href="#Footer">Footer</a></p>
<p>If specifying a header text in your programs code use <strong>HeaterText</strong> </p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>property <a name="HeaderFormat">HeaderFormat</a>;</strong></p>
<p>The format specifier for the Header property.<br>
property HeaderFormat: String;<br>
Description<br>
HeaderFormat is a table format string that specifies the column widths and alignments to
be used for each field in the Header string. For more information see: Table String.<br>
See Also: <a href="#HeaderFormat">HeaderFont</a>, <a href="#FriendlyHeader">FriendlyHeader</a>,
<a href="#FooterFormat">FooterFormat</a></p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>property <a name="FitPrintToPage">FitPrintToPage</a>: Boolean;</strong></p>
<p>Description<br>
If true, the width of all columns will be incresed for a uniform percentage to fit the
printable width of the paper.</p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>property <a name="Footer">Footer</a>: String;<br>
property FooterText: String;</strong></p>
<p>The text to be printed at the bottom of each page.<br>
property Footer: String;<br>
Description<br>
The Footer property is a table string that is laid out as specified by the FooterFormat
property. For more information see: Table String.<br>
Note: There are limitations on the Footer when PrintToFile is True.<br>
See Also: <a href="#FooterFont">FooterFont</a>, <a href="#FriendlyFooter">FriendlyFooter</a>,
<a href="#Header">Header</a></p>
<p>If specifying a footer text in your programs code use <strong>FooterText</strong> </p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>property <a name="FooterFormat">FooterFormat</a>: String;</strong></p>
<p>The format specifier for the Footer property.<br>
property FooterFormat: String;<br>
Description<br>
FooterFormat is a table format string that specifies the column widths and alignments to
be used for each field in the Footer string. For more information see: Table String.<br>
See Also: <a href="#FooterFont">FooterFont</a>, <a href="#FriendlyFooter">FriendlyFooter</a>,
<a href="#HeaderFormat">HeaderFormat</a> </p>
<p><strong><a href="#Top">Back to Top</a> <font color="#0000FF">-----------------------------------------------------------
</font></strong></p>
<p><strong>propert
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -