PDFAnnotationFreeTextMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


💬 Ask a question or report a problem