LinkLabel サンプル1
サンプル1
(『<biz-Stream_home>/sample/xml/LinkLabel/LinkLabelsample1.xml
』)
<?xml version="1.0" encoding="UTF-8"?> <!-- XML file created by biz-Stream Designer --> <!-- biz-Stream Copyright BrainSellers.com Corp. --> <Layout Name="LinkLabel1" Width="100" Height="80" X="10" Y="10" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0"> <Square Width="80" Height="50" LineColor="14,0,176" LineStyle="Solid"/> <Label Width="80" Y="40" Horizon="center" Vertical="bottom" Vector="horizon" Font="MSGothic" FontStyle="BOLD" Narrow="horizon">お問合せ先</Label> <Label Width="80" Y="30" Horizon="center" Vertical="bottom" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">ブレインセラーズ・ドットコム株式会社</Label> <Label Width="80" Y="25" Horizon="center" Vertical="bottom" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">東京都千代田区九段北XX-XX-XX</Label> <Label Width="80" Y="20" Horizon="center" Vertical="bottom" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">TEL:XX-XXXX-XXXX</Label> <Label Width="80" Y="15" Horizon="center" Vertical="bottom" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">FAX:XX-XXXX-XXXX</Label> <LinkLabel Width="80" Y="10" Horizon="center" Vertical="bottom" Vector="horizon" Font="MSGothic" FontColor="0,0,255" Uri="http://www.brainsellers.com" FontStyle="PLAIN" Narrow="horizon">ホームページへはこちらをクリック!</LinkLabel> </Layout>
<LinkLabel Width="80" Y="10" Horizon="center" Vertical="bottom" Vector="horizon" Font="MSGothic" FontColor="0,0,255" Uri="http://www.brainsellers.com" FontStyle="PLAIN" Narrow="horizon">ホームページへはこちらをクリック!</LinkLabel>
生成されるPDF
(『<biz-Stream_home>/sample/xml/LinkLabel/LinkLabelSample1.pdf
』)

Uri属性でリンク先
(http://www.brainsellers.com)が指定されているため、PDF上からブラウザを起動し、リンク先を表示します。