The following constants are possible values returned by the actionForControlCharacterAtIndex: method to determine the action associated with a control character.
Available in Mac OS X v10.4 and later.
C# | Visual Basic | Visual C++ |
public enum NSTypesetterControlCharacterAction
Public Enumeration NSTypesetterControlCharacterAction
public enum class NSTypesetterControlCharacterAction
Member | Description |
---|---|
NSTypesetterZeroAdvancementAction | Glyphs with this action are filtered out from layout (notShownAttribute == YES). Available in Mac OS X v10.4 and later. |
NSTypesetterWhitespaceAction | The width for glyphs with this action are determined by boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:, if the method is implemented; otherwise, same as NSTypesetterZeroAdvancementAction. Available in Mac OS X v10.4 and later. |
NSTypesetterHorizontalTabAction | Treated as tab character. Available in Mac OS X v10.4 and later. |
NSTypesetterLineBreakAction | Causes line break. Available in Mac OS X v10.4 and later. |
NSTypesetterParagraphBreakAction | Causes paragraph break; the value returned by firstLineHeadIndent is the advancement used for the following glyph. Available in Mac OS X v10.4 and later. |
NSTypesetterContainerBreakAction | Causes container break. Available in Mac OS X v10.4 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)