Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFAnnotationMarkupMBS class.

PDFAnnotationMarkupMBS.markupType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Type of mark-up (highlight, strike-out or underline).
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")
dim doc as new PDFDocumentMBS(f)

dim page as PDFPageMBS = doc.pageAtIndex(0)
dim a as new PDFAnnotationMarkupMBS(100,100,100,100)
a.markupType = PDFAnnotationMarkupMBS.kPDFMarkupTypeUnderline
page.addAnnotation(a)

dim o as FolderItem = SpecialFolder.Desktop.Child("testout.pdf")
call doc.write(o)
o.Launch

Changing the markup type also changes the annotations type to one of: "Highlight", "Strikeout", or "Underline" (these are three seperate annotation types treated here as three seperate flavors of the one PDFAnnotationMarkup class).
(Read and Write property)

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


The biggest plugin in space...