在读写规则中图片元素加入
attribute "size" is fm property import size;
element "symbol"{
is fm graphic element;
attribute "href" is fm property entity;
attribute "width" is fm property width;
attribute "height" is fm property height;
fm property import by reference or copy value is "ref";
attribute "size" is fm property import size;
fm property position value is "inline";
fm property baseline offset value is "-1pt";
fm property horizontal offset value is "2";
fm property vertical offset value is "0";
writer
{
facet "TIFF" specify size in mm with resolution 0.1;
}
}
在xml中的图片元素写成:
<symbol href="images\AB1800702.png" size="50mm 50mm" />
发表评论 取消回复