TextFont fontRef = ill.TextFonts["ArialMT"];

 Illustrator.TextFrame txtFrame = layer.TextFrames.Add();
 txtFrame.Contents = “文字”;
 txtFrame.TextRange.CharacterAttributes.Size = 6;
 txtFrame.TextRange.CharacterAttributes.TextFont = fontRef;
 txtFrame.Top = 0;
 txtFrame.Left = 0;

txtFrame.TextRange.CharacterAttributes.StrokeColor= new Illustrator.CMYKColor
{
    Cyan = 0,
    Magenta = 0,
    Yellow = 0,
    Black = 100,
};

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部