Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVTextStyleRuleMBS class.

AVTextStyleRuleMBS.available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether this class is available.

Returns true on Mac OS X 10.9.

AVTextStyleRuleMBS.textStyleRuleWithTextMarkupAttributes(textMarkupAttributes as Dictionary) as AVTextStyleRuleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an instance of AVTextStyleRule with the specified text markup attributes..

textMarkupAttributes: A dictionary with keys representing text style attributes that are specifiable in text markup. Eligible keys are defined in <CoreMedia/CMTextMarkup.h>.
Returns an instance of AVTextStyleRule
Equivalent to invoking textStyleRuleWithTextMarkupAttributes with a value of nil for textSelector.

See also:

AVTextStyleRuleMBS.textStyleRuleWithTextMarkupAttributes(textMarkupAttributes as Dictionary, textSelector as string) as AVTextStyleRuleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an instance of AVTextStyleRule with the specified text markup attributes and an identifier for the range or ranges of text to which the attributes should be applied.

textMarkupAttributes: A dictionary with keys representing text style attributes that are specifiable in text markup. Eligible keys are defined in <CoreMedia/CMTextMarkup.h>.
textSelector: An identifier for the range or ranges of text to which the attributes should be applied. Eligible identifiers are determined by the format and content of the legible media. A value of nil indicates that the textMarkupAttributes should be applied as default styles for all text unless overridden by content markup or other applicable text selectors.
Returns an instance of AVTextStyleRule

See also:

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


The biggest plugin in space...