Platforms to show: All Mac Windows Linux Cross-Platform

PDFAnnotationLineMBS 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 PDFKit class for a line 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

// show lines on first page
for each a as PDFAnnotationMBS in annotations
if a isa PDFAnnotationLineMBS then
dim l as PDFAnnotationLineMBS = PDFAnnotationLineMBS(a)
MsgBox "Line from "+l.startPoint.String+" to "+l.endPoint.String
end if
next

Subclass of the PDFAnnotationMBS class.

Line Styles

Constant Value Description
kPDFLineStyleCircle 2 Example
kPDFLineStyleClosedArrow 5 Example
kPDFLineStyleDiamond 3 Example
kPDFLineStyleNone 0
kPDFLineStyleOpenArrow 4 Example
kPDFLineStyleSquare 1 Example

Super class PDFAnnotationMBS

This class has no sub classes.


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


PDFAnnotationInkMBS   -   PDFAnnotationLinkMBS


The biggest plugin in space...