$.api("GdipCloneStringFormat","int(PTR strFmt,int& newFormat)")
$.api("GdipCreateStringFormat","int(int formatAttributes,word language,pointer& StringFormat)")
$.api("GdipDeleteStringFormat","int(PTR strFmt)")
$.api("GdipGetStringFormatAlign","int(PTR strFmt,int& align)")
$.api("GdipGetStringFormatFlags","int(PTR strFmt,int& flags)")
$.api("GdipGetStringFormatHotkeyPrefix","int(PTR strFmt,int& hkPrefix)")
$.api("GdipGetStringFormatLineAlign","int(PTR strFmt,int& align)")
$.api("GdipGetStringFormatTrimming","int(PTR strFmt,int& trimming)")
$.api("GdipSetStringFormatAlign","int(PTR strFmt,int align)")
$.api("GdipSetStringFormatFlags","int(PTR strFmt,int flags)")
$.api("GdipSetStringFormatHotkeyPrefix","int(PTR strFmt,int hkPrefix)")
$.api("GdipSetStringFormatLineAlign","int(PTR strFmt,int align)")
$.api("GdipSetStringFormatTrimming","int(PTR strFmt,int trimming)")
创建文本格式对象
参数都是可选参数,默认值为0
返回一个格式对象
测量字符串的长度时,禁止GDI+添加额外长度或宽度
测量结果偏小
gdipstringformatObject.align = _GdipStringAlignment ;
删除对象
gdipstringformatObject.flags = _GdipStringFormatFlags ;
gdipstringformatObject.hotkeyPrefix = _GdipHotkeyPrefix ;
gdipstringformatObject.lineAlign = _GdipStringAlignment ;
gdipstringformatObject.trimming = _GdipStringTrimming ;