Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.GetFieldBorderWidth(aField as Integer) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the line width of the border of a field.

See also GetFieldBorderWidth function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldChoiceValue(Field as Integer, ValIndex as Integer) as DynaPDFChoiceValueMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.5 Yes Yes Yes Yes No
Function: Queries the choice values for this field.

See also GetFieldChoiceValue function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldColor(Field as Integer, ColorType as Integer, byref ColorSpace as Integer, byref ColorValue as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function retrieves a specific color of an interactive form field.

See also GetFieldColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the number of fields contained in the document.

See also GetFieldCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldEx(index as Integer) as DynaPDFFieldExMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.1 Yes Yes Yes Yes No
Function: The function returns the most important properties of a field.
Example:
dim pdf as new MyDynaPDFMBS

pdf.SetLicenseKey "Lite" // For this example you can use a Lite, Pro or Enterprise License

call pdf.CreateNewPDF(nil)
call pdf.SetImportFlags(BitwiseOr(pdf.kifImportAll, pdf.kifImportAsPage))

dim filePath as FolderItem=SpecialFolder.Desktop.Child("acroform.pdf")
if (pdf.OpenImportFile(filePath, pdf.kptOpen, "") < 0) then
MsgBox "Input file """+filePath.name+""" not found!"
quit
end if

// import all pages
dim r as Integer = pdf.ImportPDFFile( 1, 1.0, 1.0)

// now check all fields
dim n as Integer = pdf.GetFieldCount
for i as Integer = 0 to n-1
dim f as DynaPDFFieldExMBS = pdf.GetFieldEx(i)

break // inspect in debugger
next
Notes: See dynapdf_help.pdf for more details.

See also GetFieldEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldExpValCount(Field as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the number of values/export values which are defined for a field.

See also GetFieldExpValCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldExpValue(Field as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: This function retrieves the export value(s) of a check box, list box, or combo box.

See also GetFieldExpValue function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldExpValueEx(Field as Integer, ValIndex as Integer, byref Value as string, byref ExpValue as string, byref Selected as boolean) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: This function can be used to enumerate the choice values of a combo box, list box, or radio button.

See also GetFieldExpValueEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldFlags(Field as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the flags of a specific interactive form field.

See also GetFieldFlags function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldGroupType(Field as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the base type of a field group.

See also GetFieldGroupType function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldHighlightMode(Field as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the highlight mode of buttons, checkboxes, and signature fields.

See also GetFieldHighlightMode function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldIndex(Field as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the index or tab order of the field.

See also GetFieldIndex function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldMapName(Field as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function retrieves the mapping name of a specific form field if set.
Notes: The result string is in unicode or ASCII encoding.

See also GetFieldMapName function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldName(Field as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function retrieves the name of a specific interactive form field.

See also GetFieldName function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldOrientation(Field as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the orientation of a field.

See also GetFieldOrientation function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldTextAlign(Field as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the text alignment of a text field or button field.

See also GetFieldTextAlign function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldTextColor as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the default text color used for newly created fields.

See also GetFieldTextColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldToolTip(Field as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function retrieves a pointer to the tool tip string of a specific interactive form field.
Notes: The result string has either unicode or ascii encoding.

See also GetFieldToolTip function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFieldType(Field as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the field type.

See also GetFieldType function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFillColor as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the current color used for fillings.

See also GetFillColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFontCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.5 Yes Yes Yes Yes No
Function: Queries the font count.

See also GetFontCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFontEx(index as Integer) as DynaPDFFontMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.5 Yes Yes Yes Yes No
Function: Queries the font information for the font specified by the index value.
Example:
// create PDF object with page
dim pdf as new DynaPDFMBS
call pdf.CreateNewPDF(nil)
call pdf.Append

// draw some text
call pdf.SetFont "Times", pdf.kfsItalic, 40.0, true, pdf.kcp1252
call pdf.WriteFText pdf.ktaCenter, "My first Realbasic output!"

// and list all fonts:
dim n as Integer = pdf.GetFontCount-1

for i as Integer = 0 to n
MsgBox pdf.GetFontEx(i).FontName
next
This item is deprecated and should no longer be used. You can use GetFontInfo instead.
Notes:
Returns nil on any error.
Index from 0 to GetFontCount-1.

Feedback, Comments & Corrections

DynaPDFMBS.GetFontInfoEx(index as Integer) as DynaPDFFontInfoMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 14.3 Yes Yes Yes Yes No
Function: Retrieves the most important properties of a font.
Notes:
This function accepts a font handle instead. A font handle is a simple array index. To enumerate all fonts of a document execute the function in a loop from zero to GetFontCount - 1.

If the function succeeds the return value is font info object. If the function fails the return value is nil.

See also GetFontInfoEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFontOrigin as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the current font origin.

See also GetFontOrigin function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFontSearchOrder as Integer()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.1 Yes Yes Yes Yes No
Function: Returns the font search order.
Notes:
The values in the array use this constants:
kfbtTrueTypeTrueType, TrueType Collections, or OpenType fonts with TrueType outlines
kfbtType1Type1 font
kfbtOpenTypeOpenType font with Postscript outlines
kfbtStdFontPDF Standard font
kfbtDisabled This value can be used to disable a specific font format.

The array has 4 values.

See also GetFontSearchOrder function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFontSelMode as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the current font selection mode.

See also GetFontSelMode function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFontWeight as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the weight that will be used to emulate a bold font style.

See also GetFontWeight function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFTextHeight(Align as Integer, aText as string) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function measures the height of a formatted text block.
Notes: The text parameter is converted to unicode.

See also GetFTextHeight function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFTextHeightAnsi(Align as Integer, aText as string) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.3 Yes Yes Yes Yes No
Function: The function measures the height of a formatted text block.
Notes: The text parameter is converted to ANSI.

See also GetFTextHeight function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetFTextHeightEx(Width as Double, Align as Integer, aText as string) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function measures the height of a formatted text block.
Notes: The text parameter is converted to unicode.

See also GetFTextHeightEx 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