Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.EnumHostFonts as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: This function enumerates all fonts found in the search directories by passing the font names to a callback function.
Notes:
Calls the EnumHostFont event.
Also check the dynapdf manual on the pdfEnumHostFonts function.

See also EnumHostFonts function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.EnumHostFontsCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.7 Yes Yes Yes Yes No
Function: This function enumerates all fonts found in the search directories.
Notes:
Returns the number of fonts found. Does not call the event.
Also check the dynapdf manual on the pdfEnumHostFonts function.

Feedback, Comments & Corrections

DynaPDFMBS.EnumHostFontsEx as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function enumerates all fonts found in the search directories in the same way as EnumHostFonts().
Notes:
Calls the EnumHostFontEx event.
Also check the dynapdf manual on the pdfEnumHostFontsEx function.

See also EnumHostFontsEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.EnumHostFontsExCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.7 Yes Yes Yes Yes No
Function: The function enumerates all fonts found in the search directories in the same way as EnumHostFontsCount().
Notes:
Returns the number of fonts found. Does not call the event.
Also check the dynapdf manual on the pdfEnumHostFontsEx function.

Feedback, Comments & Corrections

DynaPDFMBS.ExchangeBookmarks(Bmk1 as Integer, Bmk2 as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: This function exchanges two bookmarks.
Notes: Also check the dynapdf manual on the pdfExchangeBookmarks function.

See also ExchangeBookmarks function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.ExchangePages(first as Integer, second as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function exchanges two pages.
Notes: Also check the dynapdf manual on the pdfExchangePages function.

See also ExchangePages function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.ExtractPageText(RemoveText as boolean = false) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.5 Yes Yes Yes Yes No
Function: Extracts text of current open page.
Notes:
This is a convenience function so you don't need to use DynaPDFStackMBS class yourself.
Returns the text of the page. Use EditPage() to open a page and than EndPage() to close it.

If you have problems with asian characters, please make sure you use SetCMapDir and load the CMAPs.
Requires DynaPDF Pro license.

Feedback, Comments & Corrections

DynaPDFMBS.ExtractPageTextRect(Left as Double, Top as Double, Right as Double, Bottom as Double, RemoveText as boolean = false) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.2 Yes Yes Yes Yes No
Function: Extracts text of current open page within given rectangle.
Notes:
Text that starts within the given rectangle is captured.
Be aware that PDF coordinates start on bottom left of page with 0/0.

This is a convenience function so you don't need to use DynaPDFStackMBS class yourself.
Returns the text of the page. Use EditPage() to open a page and than EndPage() to close it.

If you have problems with asian characters, please make sure you use SetCMapDir and load the CMAPs.
Requires DynaPDF Pro license.

Feedback, Comments & Corrections

DynaPDFMBS.FileAttachAnnot(PosX as Double, PosY as Double, Icon as Integer, Author as string, Desc as string, File as folderitem, Compress as boolean) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function inserts a file attachment annotation on the current open page.
Notes:
On Windows, the Desc and the Author parameters are converted to unicode.
Also check the dynapdf manual on the pdfFileAttachAnnotA function (pdfFileAttachAnnotW on Windows).

See also FileAttachAnnot function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FileLink(PosX as Double, PosY as Double, Width as Double, Height as Double, FileLink as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.0 Yes Yes Yes Yes No
Function: The function creates a file link annotation.
Notes:
Here you can pass a string which may be a relative file path like simply the file name of other pdf file in same folder.
Also check the dynapdf manual on the pdfFileLinkW function.

See also FileLink function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FileLinkAnsi(PosX as Double, PosY as Double, Width as Double, Height as Double, FileLink as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.0 Yes Yes Yes Yes No
Function: The function creates a file link annotation.
Notes:
Here you can pass a string which may be a relative file path like simply the file name of other pdf file in same folder.
Also check the dynapdf manual on the pdfFileLinkA function.

Feedback, Comments & Corrections

DynaPDFMBS.FindBookmark(DestPage as Integer, Text as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: This function searches for a bookmark in the document outline tree.
Notes:
The text parameter is converted to unicode.
Also check the dynapdf manual on the pdfFindBookmarkW function.

See also FindBookmark function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FindBookmarkAnsi(DestPage as Integer, Text as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.3 Yes Yes Yes Yes No
Function: This function searches for a bookmark in the document outline tree.
Notes:
The text parameter is converted to ANSI.
Also check the dynapdf manual on the pdfFindBookmarkA function.

Feedback, Comments & Corrections

DynaPDFMBS.FindEmbeddedFile(Name as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.3 Yes Yes Yes Yes No
Function: Searches for the embedded file Name and returns the handle of it when it can be found.
Notes:
The file can then be extracted with GetEmbeddedFile().

If the function succeeds the return value is an embedded file handle, a value greater or equal zero. If the file cannot be found the return value is -1.

See also FindEmbeddedFile function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FindField(Name as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: This function searches for an interactive form field by using the fully qualified field name.
Notes:
The Name parameter is converted to unicode.
Also check the dynapdf manual on the pdfFindFieldW function.

See also FindField function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FindFieldAnsi(Name as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.3 Yes Yes Yes Yes No
Function: This function searches for an interactive form field by using the fully qualified field name.
Notes:
The Name parameter is converted to ANSI.
Also check the dynapdf manual on the pdfFindFieldA function.

Feedback, Comments & Corrections

DynaPDFMBS.FindLinkAnnot(URL as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: This function searches for a file link or web link annotation.
Notes: Also check the dynapdf manual on the pdfFindLinkAnnot function.

See also FindLinkAnnot function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FindNextBookmark as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function searches for the next bookmark with the same search parameters which were used by a previous call of FindBookmark().
Notes: Also check the dynapdf manual on the pdfFindNextBookmark function.

See also FindNextBookmark function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FinishSignature(PKCS7 as Memoryblock) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.0 Yes Yes Yes Yes No
Function: The function writes the PKCS#7 signature object to the PDF file and writes finally the finish PDF file to disk and frees all used resources if the file was not created in memory.
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.

Feedback, Comments & Corrections

DynaPDFMBS.FinishSignature(PKCS7 as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.2 Yes Yes Yes Yes No
Function: The function writes the PKCS#7 signature object to the PDF file and writes finally the finish PDF file to disk and frees all used resources if the file was not created in memory.
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.

Feedback, Comments & Corrections

DynaPDFMBS.FlattenAnnots(AnnotFlattenFlags as Integer = 0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.6 Yes Yes Yes Yes No
Function: Flattens the annotations.
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:
kaffNone0Printable annotations independent of the type
kaffUseViewState1If set, annotations which are visible in a viewer become flattened.
kaffMarkupAnnots2If 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.

Feedback, Comments & Corrections

DynaPDFMBS.FlattenForm as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function converts all fields of an Interactive Form to native PDF vector graphics and deletes the form after all fields are converted, incl. all JavaScript actions which are connected with form fields, pages, or the catalog object, and global JavaScript functions.
Notes:
Also check the dynapdf manual on the pdfFlattenForm function.
Requires DynaPDF Pro license.

See also FlattenForm function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FlushPageContent(stack as DynaPDFStackMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.7 Yes Yes Yes Yes No
Function: The function replaces the content stream of a page or template that was changed with the function ReplacePageText() or ReplacePageTextEx() beforehand.
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.

Also check the dynapdf manual on the pdfFlushPageContent function.

See also FlushPageContent function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FlushPages(Flags as Integer = 0) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.1 Yes Yes Yes Yes No
Function: Flushes pages.
Notes:
Also check the dynapdf manual on the pdfFlushPages function.
Do not use FlushPages and SetUseSwapFile together. Use one function.

See also FlushPages function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FreeImageBuffer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.6 Yes Yes Yes Yes No
Function: Frees the current image buffer.

See also FreeImageBuffer function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FreeImageObj(Handle as UInt32) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 14.0 Yes Yes Yes Yes No
Function: The function releases memory that was allocated by GetImageObj to decompress the image.
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.

Feedback, Comments & Corrections

DynaPDFMBS.FreePDF as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function frees all used resources except the font cache.
Notes: Also check the dynapdf manual on the pdfFreePDF function.

See also FreePDF function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FreeTextAnnot(PosX as Double, PosY as Double, Width as Double, Height as Double, Author as string, Text as string, Align as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: This function creates a free text annotation.
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
Notes:
The Name and Author parameters are converted to unicode.
Also check the dynapdf manual on the pdfFreeTextAnnotW function.

See also FreeTextAnnot function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.FreeTextAnnotAnsi(PosX as Double, PosY as Double, Width as Double, Height as Double, Author as string, Text as string, Align as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.3 Yes Yes Yes Yes No
Function: This function creates a free text annotation.
Notes:
The Name and Author parameters are converted to ANSI.
Also check the dynapdf manual on the pdfFreeTextAnnotA function.

Feedback, Comments & Corrections

DynaPDFMBS.GetActionCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function returns the number of actions contained in a document.
Notes: Also check the dynapdf manual on the pdfGetActionCount function.

See also GetActionCount function in DynaPDF manual.

Feedback, Comments & Corrections

Previous items Next items

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




Links
MBS FileMaker tutorial videos