Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFAnnotationInkMBS class.

PDFAnnotationInkMBS.addBezierPath(path as NSBezierPathMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method PDFKit MBS PDFKit Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Adds a Bezier path to an annotation.

PDFAnnotationInkMBS.Constructor(left as Double, top as Double, width as Double, height as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method PDFKit MBS PDFKit Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The constructor to create a new ink annotation.

See also:

PDFAnnotationInkMBS.Constructor(left as Double, top as Double, width as Double, height as Double, annotationType as String, properties as Dictionary = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method PDFKit MBS PDFKit Plugin 21.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The constructor to create a new ink annotation.

See also:

PDFAnnotationInkMBS.paths as NSBezierPathMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method PDFKit MBS PDFKit Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns an array containing the Bezier paths that make up an annotation.
Example
dim a as new PDFAnnotationInkMBS(0, 0, 100, 100)

dim b1 as NSBezierPathMBS = NSBezierPathMBS.bezierPathWithRect(NSMakeRectMBS(10, 10, 10, 10))
a.addBezierPath b1

dim b2 as NSBezierPathMBS = NSBezierPathMBS.bezierPathWithRect(NSMakeRectMBS(50, 50, 20, 30))
a.addBezierPath b2

dim paths() as NSBezierPathMBS = a.paths
break

PDFAnnotationInkMBS.removeBezierPath(path as NSBezierPathMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method PDFKit MBS PDFKit Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Removes a Bezier path from an annotation.

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


The biggest plugin in space...