CDR GMS 源码分享 免币 查找特定字体并转曲 文本转曲
Sub FontToCurves() Dim sr As ShapeRange Dim strFontName As String strFontName = "Arial" For Each p In ActiveDocument.Pages Set sr = p.Shapes.FindShapes(Query:="@type ='text:artistic' or @type ='text:paragraph' and @com.text.story.font = '" & strFontName & "'") sr.ConvertToCurves Next pEnd Sub国外大神的思路,特别分享出来。估计有的朋友会用到。 要指定字体时将上面的 的对应 信息更改下就好。如果常用,可以做出界面来。
支持支持,顶下先, 不会用怎么用。。。。。。。。。。
页:
[1]