格式化 PDF 模板
本章提供了在 Creo Illustrate 中将 3D 图发布为 3D 或图像 PDF 时可供使用的布局模板的 XML 结构、元素和属性。此信息可用于自定义布局模板。
或者,使用 Creo Illustrate 随附的 Sample_PDF_Template.zip。样例 PDF 模板可在以下目录中找到:%AppData%\ptc\illustrate
PDF 模板包含以下属性:
页面属性
页眉属性
内容属性
页脚属性
针对此示例中属性的说明如下。
<page width="8.5" height="11.0" length_unit="in" margin="0.3" bottom_margin="0.5"
top_margin="0.5" font="Courier" font_size="7">
<header width="7" height="1.0" font="Helvetica" font_size="7">
<row>
<cell width="70" align="center">
<text>Figure Name:</text>
<dynamic_text>FIGURE_NAME</dynamic_text>
</cell>
<cell width="30">
<image path="ptc_logo.jpg" URL="www.ptc.com" />
</cell>
</row>
</header>
<content split="60" graphic="true" margin="0.3"
table_padding ="0.01" table_left_padding="0.02" text_wrap="false">
</content>
<footer width="7.0" height="0.5">
<text>This is static text </text>
<text>and this is dynamic text: </text>
<dynamic_text>ILLUSTRATION_NAME</dynamic_text>
</footer>
</page>
这对您有帮助吗?