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.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.
Notes: Also check the dynapdf manual on the pdfSetFieldFontSize function.

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.
Notes: Also check the dynapdf manual on the pdfSetFieldHighlightMode function.

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.
Notes: Also check the dynapdf manual on the pdfSetFieldIndex function.

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.
Also check the dynapdf manual on the pdfSetFieldMapNameW function.

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.
Also check the dynapdf manual on the pdfSetFieldMapNameA function.

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.
Notes: Also check the dynapdf manual on the pdfSetFieldNameW function.

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:
Also check the dynapdf manual on the pdfSetFieldNameA function.
The text parameter is converted to ANSI.

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.
Notes: Also check the dynapdf manual on the pdfSetFieldOrientation function.

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.
Notes: Also check the dynapdf manual on the pdfSetFieldTextAlign function.

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.
Notes: Also check the dynapdf manual on the pdfSetFieldTextColor function.

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.
Also check the dynapdf manual on the pdfSetFieldToolTipW function.

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.
Also check the dynapdf manual on the pdfSetFieldToolTipA function.

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.
Also check the dynapdf manual on the pdfSetFillColor function.

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.
Also check the dynapdf manual on the pdfSetFillColor function.

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.
Also check the dynapdf manual on the pdfSetFillColorF function.

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.
Also check the dynapdf manual on the pdfSetFillColorF function.

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

DynaPDFMBS.SetFillColorEx(ParamArray colorvalue 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 red text color
call pdf.SetFillColorEx 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: 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

DynaPDFMBS.SetFillColorSpace(Colorspace 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 fill color space.
Notes: Also check the dynapdf manual on the pdfSetFillColorSpace function.

See also SetFillColorSpace function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFloatPrecision(NumTextDecDigits as UInt32, NumVectDecDigits as UInt32) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.5 Yes Yes Yes Yes No
Function: The function changes the output precision of text and vector coordinates.
Notes:
The default precision for text and vector graphics is two decimal digits. This corresponds to 7200 DPI. The output precision of bezier curves is one higher as for vector graphics. The maximum output precision is 5 decimal digits.
Note that higher values increase the resulting file size.

NumTextDecDigits: Number decimal digits for text object.
NumVectDecDigits: Number of decimal digits for vector objects.

Returns boolean, true for success.

See also SetFloatPrecision function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFont(Name as string, Style as Integer = 0, Size as Double = 12, Embed as boolean = true, CP as Integer = &h27) 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 loads a font that can be used for text output and interactive form fields.
Notes:
The name parameter is converted to unicode.
Also check the dynapdf manual on the pdfSetFontExW function.

If font is not found by name, please check SetFontSelMode function.

See also SetFont function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFontAnsi(Name as string, Style as Integer = 0, Size as Double = 12, Embed as boolean = true, CP as Integer = &h27) 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: The function loads a font that can be used for text output and interactive form fields.
Example:
dim pdf as DynaPDFMBS // your PDF object
call pdf.SetFontAnsi("Helvetica", pdf.kfsNone, 10.0, true, pdf.kcp1252)
Notes:
The name parameter is converted to ANSI.
Also check the dynapdf manual on the pdfSetFontExA function.

If font is not found by name, please check SetFontSelMode function.

Feedback, Comments & Corrections

DynaPDFMBS.SetFontEx(Name as string, Style as Integer = 0, Size as Double = 12, Embed as boolean = true, CP as Integer = &h27) 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: The function loads a font that can be used for text output and interactive form fields.
Notes:
The name parameter is converted to unicode.
Also check the dynapdf manual on the pdfSetFontEx function.

If font is not found by name, please check SetFontSelMode function.

See also SetFontEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFontExAnsi(Name as string, Style as Integer = 0, Size as Double = 12, Embed as boolean = true, CP as Integer = &h27) 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: The function loads a font that can be used for text output and interactive form fields.
Notes:
The name parameter is converted to ANSI.
Also check the dynapdf manual on the pdfSetFontExA function.

If font is not found by name, please check SetFontSelMode function.

Feedback, Comments & Corrections

DynaPDFMBS.SetFontOrigin(Origin 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 current font origin that is used to position text strings.
Notes: Also check the dynapdf manual on the pdfSetFontOrigin function.

See also SetFontOrigin function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFontSearchOrder(Order() 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: Sets 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 SetFontSearchOrder function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFontSearchOrderEx(Order1 as Integer, Order2 as Integer, Order3 as Integer, Order4 as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.1 Yes Yes Yes Yes No
Function: The function changes the font search order in the same way as SetFontSearchOrder() but it does not use an array to set the search order to improve compatibility to programming languages with limited array support.
Notes:
Also check the dynapdf manual on the pdfSetFontSearchOrderEx function.
use the font base constants.

See also SetFontSearchOrderEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFontSelMode(Mode 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 font selection mode.
Notes: Also check the dynapdf manual on the pdfSetFontSelMode function.

See also SetFontSelMode function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetFontWeight(Weight 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 font weight specifies the thickness or boldness of a font.
Notes: Also check the dynapdf manual on the pdfSetFontWeight function.

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