PDFAnnotationLineMBS 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

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


💬 Ask a question or report a problem