Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFMBS class.
DynaPDFMBS.SetFillColor(ColorValue as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The parameter Color must be defined in the current color space.
See also:
- SetFillColor(ColorValue as Color) as Boolean
- SetFillColor(values() as Double) as boolean
- SetFillColor(values() as single) as boolean
See also SetFillColor function in DynaPDF manual.
DynaPDFMBS.SetFillColor(values() as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The number of components must match.
See also:
- SetFillColor(ColorValue as Color) as Boolean
- SetFillColor(ColorValue as Integer) as Boolean
- SetFillColor(values() as single) as boolean
See also SetFillColor function in DynaPDF manual.
DynaPDFMBS.SetFillColor(values() as single) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The number of components must match.
See also:
- SetFillColor(ColorValue as Color) as Boolean
- SetFillColor(ColorValue as Integer) as Boolean
- SetFillColor(values() as Double) as boolean
See also SetFillColor function in DynaPDF manual.
DynaPDFMBS.SetFillColorEx(colorvalues as memoryblock, count as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 9.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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:
Some examples using this method:
See also SetFillColorEx function in DynaPDF manual.
DynaPDFMBS.SetFillColorEx(ParamArray colorvalue as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 9.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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.
DynaPDFMBS.SetFillColorSpace(Colorspace as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetFillColorSpace function in DynaPDF manual.
DynaPDFMBS.SetFloatPrecision(NumTextDecDigits as UInt32, NumVectDecDigits as UInt32) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 16.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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.
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 | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The name parameter is converted to unicode.
If font is not found by name, please check SetFontSelMode function.
See also SetFont function in DynaPDF manual.
DynaPDFMBS.SetFontAnsi(Name as string, Style as integer = 0, Size as double = 12, Embed as boolean = true, CodePage as integer = &h27) as integer Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The name parameter is converted to ANSI.
If font is not found by name, please check SetFontSelMode function.
See also SetFont function in DynaPDF manual.
DynaPDFMBS.SetFontEx(Name as string, Style as Integer = 0, Size as Double = 12, Embed as boolean = true, CodePage as Integer = &h27) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The name parameter is converted to unicode.
If font is not found by name, please check SetFontSelMode function.
Some examples using this method:
See also SetFontEx function in DynaPDF manual.
DynaPDFMBS.SetFontExAnsi(Name as string, Style as Integer = 0, Size as Double = 12, Embed as boolean = true, CodePage as Integer = &h27) as Integer Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The name parameter is converted to ANSI.
If font is not found by name, please check SetFontSelMode function.
See also SetFontEx function in DynaPDF manual.
DynaPDFMBS.SetFontOrigin(Origin as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
See also SetFontOrigin function in DynaPDF manual.
DynaPDFMBS.SetFontSearchOrder(Order() as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The values in the array use this constants:
kfbtTrueType | TrueType, TrueType Collections, or OpenType fonts with TrueType outlines |
kfbtType1 | Type1 font |
kfbtOpenType | OpenType font with Postscript outlines |
kfbtStdFont | PDF 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.
DynaPDFMBS.SetFontSearchOrderEx(Order1 as Integer, Order2 as Integer, Order3 as Integer, Order4 as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
use the font base constants.
See also SetFontSearchOrderEx function in DynaPDF manual.
DynaPDFMBS.SetFontSelMode(Mode as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetFontSelMode function in DynaPDF manual.
DynaPDFMBS.SetFontWeight(Weight as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetFontWeight function in DynaPDF manual.
DynaPDFMBS.SetGStateFlags(Flags as Integer, Reset as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
- /DynaPDF/ComplexText/Alternate Fonts
- /DynaPDF/ComplexText/Complex Text
- /DynaPDF/ComplexText/Font Substitution
- /DynaPDF/Create PDF with DPart Metadata
See also SetGStateFlags function in DynaPDF manual.
DynaPDFMBS.SetIconColor(ColorValue as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetIconColor function in DynaPDF manual.
DynaPDFMBS.SetImportFlags(Flags as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
- /DynaPDF/Change PDF Metadata
- /DynaPDF/Million pages test/Import page 1000000
- /DynaPDF/Raster/DynaPDF Display PDF in memory
- /DynaPDF/Raster/DynaPDF Display PDF with Links
- /DynaPDF/Show Links
- /DynaPDF/Split PDF
- /DynaPDF/Tables/DynaPDF Table
- /DynaPDF/Tables/Table Templates
- /DynaPDF/Watermark PDF
- /DynaPDF/ZUGFeRD/Create PDF with existing pdf
See also SetImportFlags function in DynaPDF manual.
DynaPDFMBS.SetImportFlags2(Flags as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
- /DynaPDF/Interlace PDFs
- /DynaPDF/Optimize PDF
- /DynaPDF/OptimizePDF tool
- /DynaPDF/PDF-A/Normalize PDF
- /DynaPDF/Tables/Table Templates
See also SetImportFlags2 function in DynaPDF manual.
DynaPDFMBS.SetItalicAngle(value as Double) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetItalicAngle function in DynaPDF manual.
DynaPDFMBS.SetJPEGQuality(Value as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
- /DynaPDF/Image to PDF/Batch Image to PDF
- /DynaPDF/Image to PDF/Batch Image to PDF console
- /DynaPDF/PDF with picture direct
- /DynaPDF/Show Differences
See also SetJPEGQuality function in DynaPDF manual.
DynaPDFMBS.SetLanguage(ISOTag as string) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetLanguage function in DynaPDF manual.
DynaPDFMBS.SetLeading(value as Double) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is for setting the line height.
See also SetLeading function in DynaPDF manual.
DynaPDFMBS.SetLicenseKey(Value as string) Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the value represents a correct license key the demo string does not longer appear on PDF pages. Once a correct key was set, it will be active until the library is unloaded or the current PDF object is released. Note that the key must be entered for each PDF object or process of a multi-threading application separately.
The license key must not be stored in the registry or other files in an unencrypted form.
You need to buy a license key from MBS.
The key will unlock the library to not run in demo mode.
Pro license is required for the following functions:
- BeginTransparencyGroup
- ConvertColors
- Create3DAnnot
- CreateSoftMask
- FlattenForm
- GetPageText
- ImportPage and ImportPageEx
- ParseContent
- RenderAnnotOrField
- RenderPage
- SetCMapDir
- SetExtColorSpace, SetExtFillColorSpace and SetExtStrokeColorSpace.
- SetUseGlobalImpFiles
Lite is required for:
- AddRenderingIntent and AddRenderingIntentEx
- CreateFormFields
- CloseFileEx
- ConvertEMFSpool
- CreateCollection
- CreateExtGState
- InsertMetafile and InsertMetafileEx
- OpenImportBuffer, OpenImportFile and OpenImportStream
- SetPDFVersion for PDF/A and PDF/X
And all functions relaying on those functions internally.
See also SetLicenseKey function in DynaPDF manual.
DynaPDFMBS.SetLicenseKeyGlobal(Value as string) Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 18.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please call shared method in app.open.
Because if you make a new object and set key, it's too late.
See also:
DynaPDFMBS.SetLineAnnotParms(Handle as UInt32, FontHandle as Integer, FontSize as Double, Params as DynaPDFLineAnnotParameterMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 14.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The parameter Parms can be set to nil to delete all measure line specific values. The parameters FontHandle and FontSize will be ignored in this case.
The member Caption specifies whether the parameter Content of the function LineAnnot should be used as caption of the measure line. Although a measure line can display the string in a PopUp annotation like ordinary line annotations, this is not recommended and not fully supported in Adobe's Acrobat or Reader.
If Caption is true (recommended), the caption is drawn horizontally centered either on top or inside the measure line. The text position can be changed from its normal position with the members CaptionOffsetX and CaptionOffsetY.
The parameter FontHandle can be used to specify an arbitrary font that should be used to draw the caption. Although it is possible to use any font or font size greater 0 with DynaPDF, a PDF viewer will change the font and font size to it's default values when the annotation will be edited since line annotations support no property to specify the font or font size.
Function Reference
The default font to draw the caption is Helvetica and the default font size is 9 units. In order to use the default font set the parameter FontHandle to -1. The default font size is used if the parameter FontSize is set to to zero.
Returns true on success or false on failure.
See also SetLineAnnotParms function in DynaPDF manual.
DynaPDFMBS.SetLineCapStyle(Style as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetLineCapStyle function in DynaPDF manual.
DynaPDFMBS.SetLineDashPattern(Dash as string, Phase as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetLineDashPattern function in DynaPDF manual.
DynaPDFMBS.SetLineDashPattern2(dash() as double, Phase as double) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success.
If array is nil, the pattern is removed.
See also SetLineDashPattern2 function in DynaPDF manual.
The items on this page are in the following plugins: MBS DynaPDF Plugin.