Creo Illustrate Installation and Configuration Guide > PDF テンプレートのフォーマット
PDF テンプレートのフォーマット
この章には、Creo Illustrate で 3D フィギュアを 3D PDF またはイメージ 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>
これは役に立ちましたか?