在读写规则中图片元素加入

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" />

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部