Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFAnnotationMarkupMBS class.

PDFAnnotationMarkupMBS.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 markup annotation.
Example
dim a as new PDFAnnotationMarkupMBS(100,100,100,100)

See also:

PDFAnnotationMarkupMBS.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 markup annotation.

See also:

PDFAnnotationMarkupMBS.quadrilateralPoints as NSPointMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method PDFKit MBS PDFKit Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Get the quadrilateral points.
Example
dim m as new PDFAnnotationMarkupMBS(10, 20, 30, 40)
dim points() as NSPointMBS = m.quadrilateralPoints
break // see points in debugger

Array of (n * 4) NSPoints defining n quadrilaterals in page space where n is the number of quad points.
The points for each quad are ordered in a 'Z' pattern. That is, the first point should represent the upper left point representing the start of the marked-up text, the next point will be the upper right, the third point will represent the lower left of the text and the last point the lower right. Points are specified relative to the annotation's bound's origin.

PDFAnnotationMarkupMBS.setQuadrilateralPoints(points() as NSPointMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method PDFKit MBS PDFKit Plugin 12.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Set the quadrilateral points.

Array of (n * 4) NSPoints defining n quadrilaterals in page space where n is the number of quad points.
The points for each quad are ordered in a 'Z' pattern. That is, the first point should represent the upper left point representing the start of the marked-up text, the next point will be the upper right, the third point will represent the lower left of the text and the last point the lower right. Points are specified relative to the annotation's bound's origin.

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


The biggest plugin in space...