Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
Notes: The Name parameter is converted to unicode.
See also FindField 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 FindField 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 FindLinkAnnot 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 FindNextBookmark function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.0 | Yes | Yes | Yes | Yes | All |
Notes:
If the file was created in memory GetBuffer() can now be called to obtain the finish PDF buffer.
CloseAndSignFileExt() must be called prior this function can be called.
Return values: If the function succeeds the return value is true. If the function fails the return value is false.
See also:
See also FinishSignature function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 10.2 | Yes | Yes | Yes | Yes | All |
Notes:
If the file was created in memory GetBuffer() can now be called to obtain the finish PDF buffer.
CloseAndSignFileExt() must be called prior this function can be called.
Return values: If the function succeeds the return value is true. If the function fails the return value is false.
See also:
See also FinishSignature function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 20.0 | Yes | Yes | Yes | Yes | All |
Notes:
Form fields are annotations of type atWidget. The annotations of a page can be enumerated with GetPageAnnotEx() / GetPageAnnotCount().
The annotation or form field is deleted from the page's annotation array after it was flattened. If the function succeeds the return value is true. If the function fails the return value is false.
See also FlattenAnnotOrField function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.6 | Yes | Yes | Yes | Yes | All |
Notes:
By default all annotations which have an appearance stream and which have the print flag set are flattened.
All annotations are deleted when the function returns with the exception of file attachment annotations.
If you want to flatten the view state then set the flag affUseViewState.
Annotation flags:
kaffNone | 0 | Printable annotations independent of the type |
kaffUseViewState | 1 | If set, annotations which are visible in a viewer become flattened. |
kaffMarkupAnnots | 2 | If set, markup annotations are flattened only. Link, Sound, or FileAttach annotations are no markup annotations. These types will be left intact. |
See also FlattenAnnots 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: Requires DynaPDF Pro license.
See also FlattenForm function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 7.7 | Yes | Yes | Yes | Yes | All |
Notes:
The function must be called after all changes are made. See GetPageText() for an example application.
Return values:
If the function succeeds the return value is true. If the function fails the return value is false.
See also FlushPageContent function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 11.1 | Yes | Yes | Yes | Yes | All |
Notes: Do not use FlushPages and SetUseSwapFile together. Use one function.
See also FlushPages function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 20.3 | Yes | Yes | Yes | Yes | All |
Notes: The only difference is that the last page can be specified. The function calls FlushPages() if LastPage is smaller than 1.
See also FlushPagesEx function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.6 | Yes | Yes | Yes | Yes | All |
See also FreeImageBuffer function in DynaPDF manual.
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 FreeImageObj 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 FreePDF 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 instance
// edit page 1
call pdf.EditPage(1)
// set a font
call pdf.SetFont( "Times New Roman",pdf.kfsNone,46,True,pdf.kcp1252 )
// set a color
call pdf.SetFillColor(0)
// now add a text annotation
call pdf.FreeTextAnnot( 100, 100, 100, 100, "author", "test", 0 )
// end page
call pdf.EndPage
See also FreeTextAnnot 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 FreeTextAnnot function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 18.3 | Yes | Yes | Yes | Yes | All |
Notes:
At time of publication, PDF supports U3D and PRC files. Check the value of the string SubType to determine the file type. The default format is U3D. SubType can be "" in this case. For PRC files, SubType is required to be present.
Returns true on success and false on failure.
See also Get3DAnnotStream 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 GetActionCount 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:
To determine the number of available actions of a specific object call GetObjActionCount. Since the Catalog object contains no handle, the parameter ObjHandle will be ignored for this object type.
If the function succeeds the return value is the action handle, a value greater or equal zero. If the function fails the return value is a negative error code.
See also GetActionHandle 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 GetActionType 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 GetActionTypeEx 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 GetActiveFont 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 GetAllocBy 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 instance
dim c as Integer = pdf.GetAnnotCount
for i as Integer = 0 to c-1
dim a as DynaPDFAnnotationMBS = pdf.GetAnnot(i)
MsgBox str(a.Type)
next
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | Yes | Yes | Yes | Yes | All |
See also GetAnnotBBox 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 GetAnnotCount function in DynaPDF manual.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.6 | Yes | Yes | Yes | Yes | All |
Example:
dim pdf as DynaPDFMBS // your instance
dim c as Integer = pdf.GetAnnotCount
for i as Integer = 0 to c-1
dim a as DynaPDFAnnotationExMBS = pdf.GetAnnotEx(i)
MsgBox str(a.Type)
next
See also GetAnnotEx 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 GetAnnotFlags 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 GetAnnotLink function in DynaPDF manual.
The items on this page are in the following plugins: MBS DynaPDF Plugin.

Links
MBS Xojo tutorial videos