Tag: adobe illustrator

使用VBA从Excel电子表格格式化Illustrator中的斜体

我在Illustrator中创build了一系列标签,在excel中使用VBA(excel工作表包含填充标签的信息),而且我无法find指定在Illustrator中显示的字体是否以斜体字显示的方式。 使用: .TextRange.CharacterAttributes.TextFont = appIll.TextFonts.Item("Arial") 借用与使用相同的结果: .TextRange.CharacterAttributes.TextFont = appIll.TextFonts.Item("Monotype Corsiva") 不用说,我也不能得到斜体。 我对此很新,但希望任何人知道如何指定字体和字体样式。 谢谢! .TextRange.ParagraphAttributes.Justification = aiCenter .TextRange.CharacterAttributes.size = dblTopLine1FontSize .TextRange.CharacterAttributes.StrokeWeight = 0.35 .TextRange.CharacterAttributes.StrokeColor = clrStrokeColor .TextRange.CharacterAttributes.FillColor = clrFontFillColor SetItalics tfrmTopLine1 .CreateOutline End With