根据参数描述打印长文本,文本较长时,可换行打印。
命名空间:
Smobiler.Plugins
程序集:
Smobiler.Plugins (在 Smobiler.Plugins.dll 中) 版本:6.0.651.17422+acac930a389332bc36ed645b22d5419d24641df7
语法public void PrintStringEx(
string str,
int textSize,
bool bUnderline,
bool bBold,
CN6508PrintType type,
ComponentOnResultHandler handler = null
)
Public Sub PrintStringEx (
str As String,
textSize As Integer,
bUnderline As Boolean,
bBold As Boolean,
type As CN6508PrintType,
Optional handler As ComponentOnResultHandler = Nothing
)
参数
- str
- 类型:SystemString
文本内容 - textSize
- 类型:SystemInt32
文本字号 - bUnderline
- 类型:SystemBoolean
是否有下划线 - bBold
- 类型:SystemBoolean
是否加粗 - type
- 类型:Smobiler.PluginsCN6508PrintType
文本对齐方式 - handler (Optional)
- 类型:Smobiler.Core.ControlsComponentOnResultHandler
[缺少 "M:Smobiler.Plugins.CN6508.PrintStringEx(System.String,System.Int32,System.Boolean,System.Boolean,Smobiler.Plugins.CN6508PrintType,Smobiler.Core.Controls.ComponentOnResultHandler)" 的 <param name="handler"/> 文档]
参见