格式化 PDF 範本
本章提供當在 Creo Illustrate 中將 3D 圖發佈為 3D PDF 或圖像 PDF 時,您可以使用之配置圖範本的 XML 結構、元素及屬性。您可以使用此資訊自訂配置圖範本。
或者,使用 Sample_PDF_Template.zip 隨附的 Creo Illustrate。您可以在下列目錄中找到範例 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>
這是否有幫助?