在powerpoint VBA中,如何更改文本框中字体的间距? [英] In powerpoint VBA, how to change the spacing of a font in a textbox?

查看:104
本文介绍了在powerpoint VBA中,如何更改文本框中字体的间距?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你知道 VBA 中用来分隔文本的命令是什么吗?我在互联网上查看并没有找到任何可行的方法.

Do you know what the command in VBA is in order to space out some text? I looked on the internet and didn't find anything that would work.

这个SOMMAIRE"文本框没有间距

this "SOMMAIRE" textbox has no spacing

这就是我希望文本框的样子:

and this, is what I want that textbox to look like :

字母之间有更多的空间

更确切地说,我正在寻找这个确切按钮的 VBA 代码:

more exactly, I am looking for the VBA code for this exact button :

推荐答案

使用形状的 .TextFrame2.TextRange.Font.Spacing 属性.默认情况下它可能是 0.您可以将其更改为其他值以增加字体间距.

Use the shape's .TextFrame2.TextRange.Font.Spacing property. By default it is probably 0. You can change it to other values to increase the font spacing.

这篇关于在powerpoint VBA中,如何更改文本框中字体的间距?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆