2
将图像插入到flex3的TLF中时,我发现TLF中的图像显示在正方形区域中。所以图像顶部有一些空间。请参阅附件图像了解此问题。使用Flex3的TLF中图像顶部的空间太多
如何删除这个空间?我尝试以下方法,但它不起作用!
var graphic_element:InlineGraphicElement = IEditManager(activeFlow.interactionManager).insertInlineGraphic(foreignElementUrl, width, height, "none");
graphic_element.paddingTop = 0;
graphic_element.paddingBottom = 0;
graphic_element.paddingRight = 0;
graphic_element.paddingLeft = 0;
IEditManager(activeFlow.interactionManager).applyParagraphFormat(graphic_element);
谢谢,最后的声明是关键。 – zhongshu