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

DynaPDFMBS.Handle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The IPDF handle passed to each API function.
Notes:
The constructor fills this handle and the destructor frees it.
(Read only property)

Feedback, Comments & Corrections

DynaPDFMBS.ImportFlags as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
Function: Get/Set import flags.
Notes:
Same as using GetImportFlags and SetImportFlags.
(Read and Write property)

Feedback, Comments & Corrections

DynaPDFMBS.ImportFlags2 as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
Function: Get/Set import flags 2.
Notes:
Same as using GetImportFlags2 and SetImportFlags2.
(Read and Write property)

Feedback, Comments & Corrections

DynaPDFMBS.PageCoords as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The page coordinate system setting.
Notes:
The native coordinate system of the Portable Document Format is bottom up.
Also check the dynapdf manual on the pdfGetPageCoords and pdfSetPageCoords functions.
(Read and Write property)

Feedback, Comments & Corrections

DynaPDFMBS.TraceFile as Folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The trace file.
Notes:
The plugin writes debug messages to this file so you can check what functions you called.
Not all functions are supported for this.
Improved with 16.2 plugin to really cover over 99% of all calls with parameters and result. Please report if you miss something.
(Read and Write property)

Feedback, Comments & Corrections

DynaPDFMBS.TraceHandle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The internal file handle for the trace file.
Notes:
If this is not zero, the tracing option is turned on.
You can set this value indirectly by using the TraceFile property.
(Read only property)

Feedback, Comments & Corrections

DynaPDFMBS.ValidateTextEncodings as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 13.2 Yes Yes Yes Yes No
Function: Whether to validate text encodings.
Example:
dim pdf as new DynaPDFMBS

call pdf.CreateNewPDF nil
call pdf.Append

// enable validating
pdf.ValidateTextEncodings = true

// make text without text encoding
dim s as string = "Hello World"
s = DefineEncoding(s, nil) // remove encoding

call pdf.SetFont "Times", pdf.kfsItalic, 20.0, true, pdf.kcp1252
// now cause exception
call pdf.WriteText 50.0, 580.0, s

call pdf.EndPage
call pdf.CloseFile
Notes:
You should enable this for debugging to find bugs with text encodings.
(Read and Write property)

Feedback, Comments & Corrections

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




Links
MBS Xojo blog