Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.SetFieldBackColor(ColorValue as Integer) 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: The function sets the background color used for newly created interactive form fields and annotations.

See also SetFieldBackColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldBBox(Handle as Integer, rect as DynaPDFRectMBS) 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: The function changes the bounding box of a field.

See also SetFieldBBox function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldBorderColor(ColorValue as Integer) 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: The function sets the border color used for newly created interactive form fields and annotations.

See also SetFieldBorderColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldBorderStyle(Field as Integer, Style as Integer) 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: The function changes the border style of a specific Interactive Form field.

See also SetFieldBorderStyle function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldBorderWidth(Field as Integer, LineWidth as Double) 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 change the border width of a field.

See also SetFieldBorderWidth function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldColor(Field as Integer, ColorType as Integer, ColorSpace as Integer, ColorValue as Integer) 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: The function sets a specific color of an interactive form field.

See also SetFieldColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldExpValue(Field as Integer, ValIndex as Integer, Value as string, ExpValue as string, 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 change the choice values of a combo box, list box, or radio button.

See also SetFieldExpValue function in DynaPDF manual.

Feedback, Comments & Corrections

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

See also SetFieldExpValue function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldExpValueEx(Field as Integer, ValIndex as Integer, Selected as boolean, DefSelected as boolean) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.1 Yes Yes Yes Yes No
Function: The function marks a choice value of a combo or list box as selected or unselected.
Notes:
It can also be used to change the state of check boxes or the children of a radio button. The parameter ValIndex will be ignored if the field is a normal check box (no child of a redio button or field group).

To enumerate the choice values of a combo box, list box or radio button use the function GetFieldExpValueEx().

Return value:
If the function succeeds the return value is true. If the function fails the return value is false.

See also SetFieldExpValueEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldFlags(Field as Integer, Flags as Integer, Reset 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: The function sets the flags of a specific interactive form field.

See also SetFieldFlags function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldFont(Field as Integer, Name as string, Style as Integer, Size as Double, Embed as Boolean, CodePage as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 15.0 Yes Yes Yes Yes No
Function: The function sets or changes the font of a form field.
Notes: See documentation of SetFieldFont function in dynapdf_help manual file for details.

See also SetFieldFont function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldFontAnsi(Field as Integer, Name as string, Style as Integer, Size as Double, Embed as Boolean, CodePage as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 15.0 Yes Yes Yes Yes No
Function: The function sets or changes the font of a form field.
Notes: See documentation of SetFieldFont function in dynapdf_help manual file for details.

See also SetFieldFont function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldFontEx(Field as UInt32, Handle as UInt32, FontSize as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 15.0 Yes Yes Yes Yes No
Function: The function sets or replaces the font of a field.
Notes:
The function requires a font handle that was returned by SetFieldFont.
Returns true on success and false on failure.

See also SetFieldFontEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldFontSize(aField as Integer, FontSize as Double) 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: The function changes the font size of a specific field.

See also SetFieldFontSize function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldHighlightMode(Field as Integer, HighlightMode as Integer) 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: The function changes the highlight mode of a specific field.

See also SetFieldHighlightMode function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldIndex(Field as Integer, Index as Integer) 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 set the tab order of interactive form fields.

See also SetFieldIndex function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldMapName(Field as Integer, Name as string) 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: The function sets or changes the mapping name of a field.
Notes: The parameter name is converted to unicode.

See also SetFieldMapName function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldMapNameAnsi(Field as Integer, Name as string) as Boolean
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 sets or changes the mapping name of a field.
Notes: The parameter name is converted to ANSI.

See also SetFieldMapName function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldName(Field as Integer, NewName as string) 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: The function changes the name of an interactive form field.

See also SetFieldName function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldNameAnsi(Field as Integer, NewName as string) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.0 Yes Yes Yes Yes No
Function: The function changes the name of an interactive form field.
Notes: The text parameter is converted to ANSI.

See also SetFieldName function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldOrientation(Field as Integer, Value as Integer) 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: The function sets or changes the orientation of a field.

See also SetFieldOrientation function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldTextAlign(Field as Integer, Align as Integer) 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: The function set or changes the text alignment of a text or button field.

See also SetFieldTextAlign function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldTextColor(ColorValue as Integer) 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: The function sets the text color which is used for newly created interactive form fields.

See also SetFieldTextColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldToolTip(Field as Integer, Value as string) 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: The function set or changes the tool tip or description string of an interactive form field.
Notes: The value parameter is converted to unicode.

See also SetFieldToolTip function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFieldToolTipAnsi(Field as Integer, Value as string) as Boolean
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 set or changes the tool tip or description string of an interactive form field.
Notes: The value parameter is converted to ANSI.

See also SetFieldToolTip function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFillColor(ColorValue as Color) 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 sets the fill color.
Notes:
Raises an exception if current color space is CMYK or Gray and not RGB.
The parameter Color must be defined in the current color space.

See also:

See also SetFillColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFillColor(ColorValue as Integer) 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: The function sets the fill color.
Example:
// new DynaPDF Object. Use your own subclass to catch errors in error event
dim pdf as new DynaPDFMBS

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

// destination pdf file
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")

// create new pdf document
call pdf.CreateNewPDF f

// add new page
call pdf.append

// set red text color
call pdf.SetFillColor pdf.RGB(255,0,0)

// set font
call pdf.SetFont "Times", pdf.kfsItalic, 40.0, true, pdf.kcp1252

// write some text
call pdf.WriteFText pdf.ktaCenter, "My first PDF!"

// close page
call pdf.EndPage

// close file
call pdf.CloseFile

// open in users preferred PDF viewer application
f.Launch
Notes: The parameter Color must be defined in the current color space.

See also:

See also SetFillColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFillColor(values() as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.2 Yes Yes Yes Yes No
Function: Sets fill color based on an array of floats.
Example:
// new DynaPDF Object. Use your own subclass to catch errors in error event
dim pdf as new DynaPDFMBS

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

// destination pdf file
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")

// create new pdf document
call pdf.CreateNewPDF f

// add new page
call pdf.append

// set blue text color with values in memoryblock
dim colorvalues() as Double = array(0.0, 1.0, 0.0)
call pdf.SetFillColor colorvalues

// set font
call pdf.SetFont "Times", pdf.kfsItalic, 40.0, true, pdf.kcp1252

// write some text
call pdf.WriteFText pdf.ktaCenter, "My first PDF!"

// close page
call pdf.EndPage

// close file
call pdf.CloseFile

// open in users preferred PDF viewer application
f.Launch
Notes: The number of components must match.

See also:

See also SetFillColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFillColor(values() as single) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.2 Yes Yes Yes Yes No
Function: Sets fill color based on an array of floats.
Notes: The number of components must match.

See also:

See also SetFillColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFillColorEx(colorvalues as memoryblock, count as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.1 Yes Yes Yes Yes No
Function: Sets the fill color using the values in parameters.
Example:
// new DynaPDF Object. Use your own subclass to catch errors in error event
dim pdf as new DynaPDFMBS

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

// destination pdf file
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")

// create new pdf document
call pdf.CreateNewPDF f

// add new page
call pdf.append

// set blue text color with values in memoryblock
dim m as new MemoryBlock(3)
m.Byte(0) = 0
m.Byte(1) = 0
m.Byte(2) = 255
call pdf.SetFillColorEx m,3

// set font
call pdf.SetFont "Times", pdf.kfsItalic, 40.0, true, pdf.kcp1252

// write some text
call pdf.WriteFText pdf.ktaCenter, "My first PDF!"

// close page
call pdf.EndPage

// close file
call pdf.CloseFile

// open in users preferred PDF viewer application
f.Launch
Notes: Pass as many color values as needed for the current color space. 3 for RGB, 4 for CMYK. All values must be in the range of 0 to 255.

See also:

See also SetFillColorEx 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 Xojo Plugins