Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVTextStyleRuleMBS class.

AVTextStyleRuleMBS.Constructor(textMarkupAttributes as dictionary)

Type Topic Plugin Version macOS Windows Linux iOS Targets
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>.

See also:

AVTextStyleRuleMBS.Constructor(textMarkupAttributes as dictionary, textSelector as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
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:

AVTextStyleRuleMBS.copy as AVTextStyleRuleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the style rule.

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


The biggest plugin in space...