CTTextTabCreate(_:_:_:)
Creates and initializes a new text tab object.
Declaration
func CTTextTabCreate(_ alignment: CTTextAlignment, _ location: Double, _ options: CFDictionary?) -> CTTextTabParameters
- alignment:
The tab’s alignment. This is used to determine the position of text inside the tab column. This parameter must be set to a valid Cttextalignment value or this function returns
NULL. - location:
The tab’s ruler location, relative to the back margin.
- options:
Options to pass in when the tab is created. Currently, the only option available is Kcttabcolumnterminatorsattributename. This parameter is optional and can be set to
NULLif not needed.
Return Value
A reference to a CTTextTab object if the call was successful; otherwise, NULL.