MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / GetDictInfo

Method GetDictInfo

src/pkgDm/Dm2Java.java:2137–2139  ·  view source on GitHub ↗

根据指定的文字,以及指定的系统字库信息,获取字库描述信息. @param str 需要获取的字符串 @param font_name 系统字体名,比如"宋体" @param font_size 系统字体尺寸,这个尺寸一定要以大漠综合工具获取的为准.如何获取尺寸看视频教程. @param flag 字体类别 取值可以是以下值的组合,比如1+2+4+8,2+4. 0表示正常字体 1 : 粗体 2 : 斜体 4 : 下划线 8 : 删除线 @return 返回字库信息,每个字符的字库信息用"|"来分割

(String str,String font_name,int font_size,int flag)

Source from the content-addressed store, hash-verified

2135 * @return 返回字库信息,每个字符的字库信息用"|"来分割
2136 */
2137 public String GetDictInfo(String str,String font_name,int font_size,int flag){
2138 return Dispatch.call(dm,"GetDictInfo",str,font_name,font_size,flag).getString();
2139 }
2140
2141 /**
2142 * 获取当前使用的字库序号(0-9)

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected