Platforms to show: All Mac Windows Linux Cross-Platform

PDFAnnotationFreeTextMBS class

Super class: PDFAnnotationMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class PDFKit MBS PDFKit Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The class for a free text annotation.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")
dim doc as new PDFDocumentMBS(f)
dim page as PDFPageMBS = doc.pageAtIndex(0)
dim annotations(-1) as PDFAnnotationMBS = page.annotations

for each a as PDFAnnotationMBS in annotations
if a isa PDFAnnotationFreeTextMBS then
dim ft as PDFAnnotationFreeTextMBS = PDFAnnotationFreeTextMBS(a)
MsgBox ft.contents
end if
next

Subclass of the PDFAnnotationMBS class.

Constants

Constant Value Description
NSJustifiedTextAlignment 3 The Cocoa text alignment constant for justified.
NSLeftTextAlignment 0 The Cocoa text alignment constant for left.
NSNaturalTextAlignment 4 The Cocoa text alignment constant for natural.

Super class PDFAnnotationMBS

This class has no sub classes.

Blog Entries

Release notes


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


PDFAnnotationCircleMBS   -   PDFAnnotationInkMBS


The biggest plugin in space...