Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFAnnotationFreeTextMBS class.

PDFAnnotationFreeTextMBS.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 within annotation bounds.
Example
dim a as PDFAnnotationFreeTextMBS // an annotation

if a.alignment=a.NSLeftTextAlignment then
// left aligned
end if

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

PDFAnnotationFreeTextMBS.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)

PDFAnnotationFreeTextMBS.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 in the text field of the annotation.

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

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


The biggest plugin in space...