如何解决pdfMake 中的绝对位置?
我有一个文本是 absolutePosition
并且我上面有一些可能很长的文本,以便使长文本位于 absolutePosition
中的文本下方,就像在 picture 中一样。我怎样才能避免这种情况?
我的代码是这样的:
{
width: 'auto',text: { text: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries,but also the leap into electronic typesetting,remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.',fontSize: Fonts.sizes.caption },margin: [0,30,30]
},{
columns: [
{
text: "<Place here>",absolutePosition: {x: 65,y: 310},fontSize: 8
},
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。