Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 14.0 | Yes | Yes | Yes | Yes | All |
Notes: If the function succeeds the return value is true. If the function fails the return value is false.
See also SetAnnotLineEndStyle function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 15.4 | Yes | Yes | Yes | Yes | All |
Notes:
All annotation types with exception of 3D, Link, Movie, Screen, PrinterMark, TrapNet, and Watermark are markup annotations.
Migration states are stored in text annotations as reply to the base annotation. Further states are stored as reply to the last reply; the result is a single linked list. Because the base annotation contains no reference to the last reply or migration state the function must search for it. To speed upprocessing the function returns the handle of the text annotation so that the next state can directly be added to this annotation.
The migration state is defined since PDF 1.5. The function adjusts the PDF version automatically if it is lower than PDF 1.5.
If the function succeeds the return value is the handle of the text annotation, a value greater or equal zero. If the function fails the return value is a negative error code.
State can be kasNone, kasAccepted, kasRejected, kasCancelled, kasCompleted.
See also SetAnnotMigrationState function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 15.4 | Yes | Yes | Yes | Yes | All |
All annotation types with exception of 3D, Link, Movie, Screen, PrinterMark, TrapNet, and Watermark are markup annotations.
Migration states are stored in text annotations as reply to the base annotation. Further states are stored as reply to the last reply; the result is a single linked list. Because the base annotation contains no reference to the last reply or migration state the function must search for it. To speed upprocessing the function returns the handle of the text annotation so that the next state can directly be added to this annotation.
The migration state is defined since PDF 1.5. The function adjusts the PDF version automatically if it is lower than PDF 1.5.
If the function succeeds the return value is the handle of the text annotation, a value greater or equal zero. If the function fails the return value is a negative error code.
State can be kasNone, kasAccepted, kasRejected, kasCancelled, kasCompleted.
See also SetAnnotMigrationState function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 16.0 | Yes | Yes | Yes | Yes | All |
Notes:
The function GetAnnotEx() or GetPageAnnotEx() can be used to determine whether an annotation is a markup annotation.
Returns true on succes or false on failure.
See also SetAnnotOpacity function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 10.4 | Yes | Yes | Yes | Yes | All |
See also SetAnnotOpenState function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.5 | Yes | Yes | Yes | Yes | All |
Notes:
If the parameter IsField is set to true, a valid field handle must be passed to the parameter Handle. An annotation handle is expected otherwise.
Annotations and form fields support a modification date but a creation date is supported by markup annotations only.
The following annotation types are markup annotations:
- Care
- Circle
- FileAttach
- FreeText
- Highlight, Squiggly, Strikeout, Underline
- Ink
- Line
- Polygon
- Projection
- Redact
- Sound
- Square
- Stamp
- Text
If the function succeeds the return value is 1. If the function fails the return value is 0.
See also SetAnnotOrFieldDate function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 15.3 | Yes | Yes | Yes | Yes | All |
Notes:
The function must be called within an open page.
Independent of the used coordinate system (bottom up or top down), the points must be defined in the following order:
x1,y1 x3,y3
x2,y2 x4,y4

The coordinates of the vertices are interpreted in current user space. Any transformation that was applied on the coordinate system will be taken into account.
The number of points must be 4 or a multiple of 4.
Returns true on success.
See also SetAnnotQuadPoints function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 9.7 | Yes | Yes | Yes | Yes | All |
See also SetAnnotString function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 9.7 | Yes | Yes | Yes | Yes | All |
See also SetAnnotString function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
Notes: The value parameter is converted to unicode.
See also SetAnnotSubject function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.3 | Yes | Yes | Yes | Yes | All |
See also SetAnnotSubject function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetBBox function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetBidiMode function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 19.2 | Yes | Yes | Yes | Yes | All |
Notes:
This function is a bit optimized to check the current color space.
Depending on whether it's RGB, Gray, CMYK or Lab, it will set different color values.
And if other color space is active, it switches to Gray colorspace to set black.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetBookmarkDest function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetBookmarkStyle function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetBorderStyle function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetCharacterSpacing function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetCheckBoxChar function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetCheckBoxDefState function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetCheckBoxState function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 10.1 | Yes | Yes | Yes | Yes | All |
See also SetCIDFont function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 11.2 | Yes | Yes | Yes | Yes | All |
Example:
dim pdf as DynaPDFMBS // your dynapdf instance
call pdf.SetCMapDir SpecialFolder.Desktop.Child("CMAP"), 3
Takes an integer instead of a boolean starting with plugin version 11.2pr6.
See klcmDefault, klcmDelayed and klcmRecursive constants.
Requires DynaPDF Pro license.
See also:
See also SetCMapDir function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 11.2 | Yes | Yes | Yes | Yes | All |
Example:
dim pdf as DynaPDFMBS // your dynapdf instance
call pdf.SetCMapDir SpecialFolder.Desktop.Child("CMAP"), pdf.klcmRecursive
Takes an integer instead of a boolean starting with plugin version 11.2pr6.
See klcmDefault, klcmDelayed and klcmRecursive constants.
Requires DynaPDF Pro license.
See also:
See also SetCMapDir function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetColDefFile function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.3 | Yes | Yes | Yes | Yes | All |
Notes: See also SetColorMask function in dynapdf_help.pdf manual.
See also:
See also SetColorMask function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.3 | Yes | Yes | Yes | Yes | All |
Notes:
Same as other SetColorMask function, but values are taken from array.
See also SetColorMask function in dynapdf_help.pdf manual.
See also:
See also SetColorMask function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetColors function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
Example:
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean
// get the colorspace of the image file
const DP_csDeviceRGB=0
const DP_csDeviceCMYK=1
const DP_csDeviceGray=2
dim iColorSpace as Integer
iColorSpace=DP_csDeviceRGB
// define color space
bBool=pdf.SetColorSpace(iColorSpace)
See also SetColorSpace function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also SetColSortField function in DynaPDF manual.
The items on this page are in the following plugins: MBS DynaPDF Plugin.

Links
MBS Xojo tutorial videos