aardio 文档

gdip.stringformat 库模块帮助文档

gdip 成员列表

gdip.CloneStringFormat

$.api("GdipCloneStringFormat","int(PTR strFmt,int& newFormat)")

gdip.CreateStringFormat

$.api("GdipCreateStringFormat","int(int formatAttributes,word language,pointer& StringFormat)")

gdip.DeleteStringFormat

$.api("GdipDeleteStringFormat","int(PTR strFmt)")

gdip.GetStringFormatAlign

$.api("GdipGetStringFormatAlign","int(PTR strFmt,int& align)")

gdip.GetStringFormatFlags

$.api("GdipGetStringFormatFlags","int(PTR strFmt,int& flags)")

gdip.GetStringFormatHotkeyPrefix

$.api("GdipGetStringFormatHotkeyPrefix","int(PTR strFmt,int& hkPrefix)")

gdip.GetStringFormatLineAlign

$.api("GdipGetStringFormatLineAlign","int(PTR strFmt,int& align)")

gdip.GetStringFormatTrimming

$.api("GdipGetStringFormatTrimming","int(PTR strFmt,int& trimming)")

gdip.SetStringFormatAlign

$.api("GdipSetStringFormatAlign","int(PTR strFmt,int align)")

gdip.SetStringFormatFlags

$.api("GdipSetStringFormatFlags","int(PTR strFmt,int flags)")

gdip.SetStringFormatHotkeyPrefix

$.api("GdipSetStringFormatHotkeyPrefix","int(PTR strFmt,int hkPrefix)")

gdip.SetStringFormatLineAlign

$.api("GdipSetStringFormatLineAlign","int(PTR strFmt,int align)")

gdip.SetStringFormatTrimming

$.api("GdipSetStringFormatTrimming","int(PTR strFmt,int trimming)")

gdip.stringformat()

返回对象:gdipstringformatObject

gdip.stringformat(formatAttributes,language)

创建文本格式对象
参数都是可选参数,默认值为0

gdip.stringformat 成员列表

gdip.stringformat.genericTypographic()

返回一个格式对象
测量字符串的长度时,禁止GDI+添加额外长度或宽度
测量结果偏小

返回对象:gdipstringformatObject

gdipstringformatObject 成员列表

gdipstringformatObject.align

gdipstringformatObject.align = _GdipStringAlignment ;

gdipstringformatObject.delete()

删除对象

gdipstringformatObject.flags

gdipstringformatObject.flags = _GdipStringFormatFlags ;

gdipstringformatObject.hotkeyPrefix

gdipstringformatObject.hotkeyPrefix = _GdipHotkeyPrefix ;

gdipstringformatObject.lineAlign

gdipstringformatObject.lineAlign = _GdipStringAlignment ;

gdipstringformatObject.trimming

gdipstringformatObject.trimming = _GdipStringTrimming ;

Markdown 格式