Platforms to show: All Mac Windows Linux Cross-Platform

PDFAnnotationLineMBS class

Super class: PDFAnnotationMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class PDFKit MBS MacControls Plugin 8.0 Yes No No Yes, macOS only No
Function: The PDFKit class for a line annotation.
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
Notes: Subclass of the PDFAnnotationMBS class.

Feedback, Comments & Corrections

Super class PDFAnnotationMBS

This class has no sub classes.

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

PDFAnnotationInkMBS   -   PDFAnnotationLinkMBS

The biggest plugin in space...

MBS Xojo Plugins