两端对齐 完全两端对齐 文本对齐
Contents
[
Hide
]
Report builder 不支持为文本框 “Justify” 和 “FullJustify” 指定文本对齐的功能。使用 Aspose.Pdf for Reporting Services,您可以通过添加自定义属性轻松实现此功能。
自定义属性名称 : TextAlignment
自定义属性类型 : 字符串
自定义属性值 : Justify, FullJustify
在报告中,代码应如下所示:
示例
<Textbox Name="textbox1">
<value> AsposePdf4RS </value>
<CustomProperties>
<CustomProperty>
<Name>TextAlignment</Name>
<Value>Justify</Value>
</CustomProperty>
</CustomProperties>
</Textbox>