如何在 CoreText 中设置制表位 [英] How to set tab stop in CoreText

查看:88
本文介绍了如何在 CoreText 中设置制表位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 CoreText 中设置制表位.我真的需要代码.这个例子更好.任何人都可以帮助我吗?

I want to set the tab stop in CoreText. I really need the code. The example is more good. Anyone can help me?

推荐答案

首先,您是否阅读了 CoreText 编程指南?

First off, have you read the CoreText programming guide?

如果是这样,请查看 CTTextTab 参考 - 特别是 CTTextTabCreate 方法.这应该足以让您朝着正确的方向前进.(我们不是来为您编写代码的.)

If so, take a look at the CTTextTab reference - specifically the CTTextTabCreate method. This should be more than enough to set you in the right direction. (We're not here to write your code for you.)

这篇关于如何在 CoreText 中设置制表位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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