Platforms to show: All Mac Windows Linux Cross-Platform

DynaPDFMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class DynaPDF MBS DynaPDF Plugin 8.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The dynapdf class.

A pdf library to create, modify, import pdf files.
You need a separate dynapdf license key for this class.

Please note that all constants have the prefix k. In the dynapdf_help.pdf file, the constants don't have a k prefix. And the C functions there have IPDF parameters which the plugin automatically passes for you. So

SI32 pdfSetPageCoords(const void* IDPF, TPageCoord PageCoords)

translates in Xojo to

function SetPageCoords(PageCoords as Integer) as Integer

and you call it like this:

call pdf.SetPageCoords pdf.kpcTopDown

where in this sample the DynaPDF object is named pdf.

Pro license is required for the following functions:

  • BeginTransparencyGroup
  • ConvertColors
  • Create3DAnnot
  • CreateSoftMask
  • FlattenForm
  • GetPageText
  • ImportPage and ImportPageEx
  • ParseContent
  • RenderAnnotOrField
  • RenderPage
  • SetCMapDir
  • SetExtColorSpace, SetExtFillColorSpace and SetExtStrokeColorSpace.
  • SetUseGlobalImpFiles

Lite is required for:
  • AddRenderingIntent and AddRenderingIntentEx
  • CreateFormFields
  • CloseFileEx
  • ConvertEMFSpool
  • CreateCollection
  • CreateExtGState
  • InsertMetafile and InsertMetafileEx
  • OpenImportBuffer, OpenImportFile and OpenImportStream
  • SetPDFVersion for PDF/A and PDF/X

And all functions relaying on those functions internally.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine


Release notes

  • Version 24.3
    • Added kaffKeepUnsupportedAnnots constant for DynaPDFMBS class.
    • Added SetLineAnnotPoints and EnableImageCache functions to DynaPDFMBS class.
    • Fixed ArcShape for DynaPDFMBS to not close the Arc line.
    • Fixed DeletePage in DynaPDFMBS class to return remaining pages on success.
  • Version 24.2
    • Changed PageGraphics on DynaPDFMBS class to only set coordinate system to top-down when you query PageGraphics or when NextPage is called.
    • Fixed issue with text incorrectly placed with DynaPDFMBS class using graphics object when using rotation.
    • Improved thread safety for DynaPDFMBS class with graphics class.
  • Version 24.1
    • Changed SetLicenseKey in DynaPDFMBS class to raise exception if you call it in debug mode after calling SetLicenseKeyGlobal to suggest you to remove the SetLicenseKey call.
  • Version 24.0
    • Added karFormData and kaffNonPDFA_4e constants to DynaPDFMBS class.
  • Version 23.5
    • Added CreateGeospatialMeasure method to DynaPDFMBS class.
    • Added kctPDFA_4, kctPDFA_4e and kctPDFA_4f constants to DynaPDFMBS for CheckConformance to convert to PDF/A 4.
    • Added kgfSkaleAnnotIcons constant for DynaPDFMBS class.
    • Fixed FindField in DynaPDFMBS class to better find a field in a group, broken in 23.4.
  • Version 23.4
    • Added DeleteDPartNode method to DynaPDFMBS class.
    • Added kif2SkipDPartData flag for DynaPDFMBS class.
    • Fixed HighlightOnAllPages method in DynaPDFMBS class to pass color correctly.
    • Improved FindField in DynaPDFMBS class to better find a field in a group.
  • Version 23.3
    • Added OpenTagEx, MarkTemplateAsWatermark, HaveDPartRoot, GetLastTextOffset, DeleteWatermark, CreateDPartRoot and AddDPartNode methods to DynaPDFMBS class.
  • Version 23.2
    • Fixed a problem in RenderPageToImage for DynaPDFMBS class which caused it to render only black image.
  • Version 23.1

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

DynaPDFMatrixMBS   -   DynaPDFMeasureMBS

The biggest plugin in space...