NSAttributedStringMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSAttributedStringMBS class.

Underline Constants.

NSAttributedStringMBS.NSUnderlineByWord = &h8000

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Draw the line only underneath or through words, not whitespace.

NSAttributedStringMBS.NSUnderlinePatternDash = &h0200

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Draw a line of dashes.

NSAttributedStringMBS.NSUnderlinePatternDashDot = &h0300

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Draw a line of alternating dashes and dots.

NSAttributedStringMBS.NSUnderlinePatternDashDotDot = &h0400

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Draw a line of alternating dashes and two dots.

NSAttributedStringMBS.NSUnderlinePatternDot = &h0100

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Draw a line of dots.

NSAttributedStringMBS.NSUnderlinePatternSolid = 0

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Draw a solid line.

NSAttributedStringMBS.NSUnderlineStyleDouble = 9

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Draw a double line.

NSAttributedStringMBS.NSUnderlineStyleNone = 0

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Do not draw a line.

NSAttributedStringMBS.NSUnderlineStyleSingle = 1

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.
Example
// underline selected text in TextArea1

dim t as NSTextViewMBS = TextArea1.NSTextViewMBS
dim s as NSTextStorageMBS = t.textStorage

dim d as Dictionary = t.selectedTextAttributes
d.Value(NSAttributedStringMBS.NSStrikethroughStyleAttributeName) = s.NSUnderlineStyleSingle
t.selectedTextAttributes = d

Draw a single line.

NSAttributedStringMBS.NSUnderlineStyleThick = 2

Type Topic Plugin Version
const Cocoa Text MBS MacBase Plugin 17.4
One of the underline constants.

Draw a thick line.

The items on this page are in the following plugins: MBS MacBase Plugin.


💬 Ask a question or report a problem