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

Videos

Release notes

  • Version 25.1
    • Added CustomerID property to DynaPDFMBS class.
    • Fixed a memory leak in AddInkList, InkAnnot and SetAnnotQuadPoints methods in DynaPDFMBS class.
    • Improved Optimize() function in DynaPDFMBS class to automatically set kofInMemory flag if you have no open file.
  • Version 25.0
    • Added CheckEmbeddedFileCheckSum method for DynaPDFMBS class.
    • Added ConvToFreeTextCallout method to DynaPDFMBS class.
    • Added GetFontSize method to DynaPDFMBS class.
    • Added GetLastTextPosYAbs and GetLastTextPosXAbs functions to DynaPDFMBS class.
    • Fixed a memory leak in ConvertStyledText in DynaPDFMBS class.
  • Version 24.5
    • Added GetAnnotTextAlign function to DynaPDFMBS class.
    • Added GetTextBBox and GetAnnotColor functions to DynaPDFMBS class.
  • Version 24.4
    • Added TestPassword function to DynaPDFMBS class.
    • Changed GetInIsEncrypted function in DynaPDFMBS class to return boolean.
  • 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.

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


DynaPDFMatrixMBS   -   DynaPDFMeasureMBS


The biggest plugin in space...