Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFAnnotationTextWidgetMBS class.

PDFAnnotationTextWidgetMBS.alignment as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Alignment of text.

Supported: NSLeftTextAlignment, NSRightTextAlignment and NSCenterTextAlignment.
(Read and Write property)

PDFAnnotationTextWidgetMBS.attributedStringValue as NSAttributedStringMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Attributed string associated with text field ( font / fontColor).

Available on Mac OS X 10.8 or newer.
(Read and Write property)

PDFAnnotationTextWidgetMBS.backgroundColor as NSColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The background color of the annotation text field.

Available in Mac OS X v10.5 and later.
(Read and Write property)

PDFAnnotationTextWidgetMBS.fieldName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The internal name for the annotation text field.

Field names are optional, internal names that identify text fields in a PDF form. You use field names with the PDFActionResetForm action.
Note that multiple PDFAnnotationTextWidget objects with the same field name always have the same text associated with that field name. When text is entered into one of the objects, the text associated with that field name is changed in all objects. If you need to ensure unique text for a PDFAnnotationTextWidget object, you must give it a unique field name.
Available in Mac OS X v10.5 and later.
(Read and Write property)

PDFAnnotationTextWidgetMBS.font as NSFontMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Font associated with the text field.

(Read and Write property)

PDFAnnotationTextWidgetMBS.fontColor as NSColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The font color used for the annotation's text field.

Available in Mac OS X v10.5 and later.
(Read and Write property)

PDFAnnotationTextWidgetMBS.isMultiline as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 21.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Configuring multiline PDF text fields.

(Read and Write property)

PDFAnnotationTextWidgetMBS.maximumLength as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The maximum number of characters allowed in the annotations string.

A value of 0 means that there is no specified maximum.
Available in Mac OS X v10.5 and later.
(Read and Write property)

PDFAnnotationTextWidgetMBS.rotation as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The rotation angle of the annotation text field in degrees.

The rotation angle to be applied to the annotation text field, in degrees. The rotation angle must be a positive or negative multiple of 90 (negative angles are converted to their positive equivalents; for example -90 is changed to 270).
Available in Mac OS X v10.5 and later.
(Read and Write property)

PDFAnnotationTextWidgetMBS.stringValue as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
String value associated with text field.

(Read and Write property)

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


The biggest plugin in space...