PDFAnnotationMarkupMBS constants

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

Back to PDFAnnotationMarkupMBS class.

Markup Types

PDFAnnotationMarkupMBS.kPDFMarkupTypeHighlight = 0

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 8.0
A constant for the markup type.
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.kPDFMarkupTypeHighlight
page.addAnnotation(a)

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

Highlight

PDFAnnotationMarkupMBS.kPDFMarkupTypeRedact = 3

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 21.1
A constant for the markup type.

Redact

PDFAnnotationMarkupMBS.kPDFMarkupTypeStrikeOut = 1

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 8.0
A constant for the markup type.
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.kPDFMarkupTypeStrikeOut
page.addAnnotation(a)

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

StrikeOut

PDFAnnotationMarkupMBS.kPDFMarkupTypeUnderline = 2

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 8.0
A constant for the markup type.
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

Underline

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


💬 Ask a question or report a problem