Formatting PDF Templates
  
Formatting PDF Templates
This appendix provides the XML structure, elements, and attributes of the layout template that you can use when publishing a 3D figure to a 3D or image PDF in Creo Illustrate. You can use this information to customize the layout template.
Alternatively, use the Sample_PDF_Template.zip that is provided with Creo Illustrate. The sample PDF template can be found in the following directory: %AppData%\ptc\illustrate.
PDF templates contain the following attributes:
Page attributes
Header attributes
Content attributes
Footer attributes
The attributes in this example are described below.
<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>