画像を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