Platforms to show: All Mac Windows Linux Cross-Platform

Back to DynaPDFMBS class.

Previous items Next items

DynaPDFMBS.SetBookmarkStyle(ABmk as Integer, Style as Integer, RGBColor 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
Sets the bookmark style.

Some examples using this method:

See also SetBookmarkStyle function in DynaPDF manual.

DynaPDFMBS.SetBorderStyle(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
The function set the global border style which is used for newly created form fields.

Some examples using this method:

See also SetBorderStyle function in DynaPDF manual.

DynaPDFMBS.SetCharacterSpacing(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
The function sets the current character spacing. The function requires an open page, template or pattern.

See also SetCharacterSpacing function in DynaPDF manual.

DynaPDFMBS.SetCheckBoxChar(CheckBoxChar 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 function sets the character which should be used for newly created check boxes.

Some examples using this method:

See also SetCheckBoxChar function in DynaPDF manual.

DynaPDFMBS.SetCheckBoxDefState(Field as Integer, Checked as Boolean) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This function changes the default state of a check box; it can differ from the current visible state of the check box.

See also SetCheckBoxDefState function in DynaPDF manual.

DynaPDFMBS.SetCheckBoxState(Field as Integer, Checked as Boolean) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The function changes the state of a check box. The parameter Field must be a valid check box handle.

Some examples using this method:

See also SetCheckBoxState function in DynaPDF manual.

DynaPDFMBS.SetCIDFont(CMapHandle as Integer, Name as string, Style as Integer, Size as Double, Embed as boolean) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets a CID Font.

See also SetCIDFont function in DynaPDF manual.

DynaPDFMBS.SetCMapDir(path as folderitem, flags as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 11.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the character map directory.
Example
dim pdf as DynaPDFMBS // your dynapdf instance
call pdf.SetCMapDir SpecialFolder.Desktop.Child("CMAP"), 3

Takes an integer instead of a boolean starting with plugin version 11.2pr6.
See klcmDefault, klcmDelayed and klcmRecursive constants.
Requires DynaPDF Pro license.

See also:

Some examples using this method:

See also SetCMapDir function in DynaPDF manual.

DynaPDFMBS.SetCMapDir(path as string, flags as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 11.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the character map directory.
Example
dim pdf as DynaPDFMBS // your dynapdf instance
call pdf.SetCMapDir SpecialFolder.Desktop.Child("CMAP"), pdf.klcmRecursive

Takes an integer instead of a boolean starting with plugin version 11.2pr6.
See klcmDefault, klcmDelayed and klcmRecursive constants.
Requires DynaPDF Pro license.

See also:

See also SetCMapDir function in DynaPDF manual.

DynaPDFMBS.SetColDefFile(EmbFile 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 function sets the initial document of a portable collection that should be opened in the viewer application. See also CreateCollection().

Some examples using this method:

See also SetColDefFile function in DynaPDF manual.

DynaPDFMBS.SetColorMask(ImageHandle as Integer, Mask as Ptr, Count as UInt32) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The functions sets or overrides the color mask of an image.

See also SetColorMask function in dynapdf_help.pdf manual.

See also:

See also SetColorMask function in DynaPDF manual.

DynaPDFMBS.SetColorMask(ImageHandle as Integer, Mask() as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The functions sets or overrides the color mask of an image.

Same as other SetColorMask function, but values are taken from array.
See also SetColorMask function in dynapdf_help.pdf manual.

See also:

See also SetColorMask function in DynaPDF manual.

DynaPDFMBS.SetColors(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 function sets the fill and stroke color.

See also SetColors function in DynaPDF manual.

DynaPDFMBS.SetColorSpace(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
The function sets the color space.
Example
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean

// get the colorspace of the image file
const DP_csDeviceRGB=0
const DP_csDeviceCMYK=1
const DP_csDeviceGray=2

dim iColorSpace as Integer

iColorSpace=DP_csDeviceRGB

// define color space
bBool=pdf.SetColorSpace(iColorSpace)

Some examples using this method:

See also SetColorSpace function in DynaPDF manual.

DynaPDFMBS.SetColSortField(ColField as Integer, AscendingOrder as boolean) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The function sets the collection field that should be used to sort the list of embedded files.

Some examples using this method:

See also SetColSortField function in DynaPDF manual.

DynaPDFMBS.SetCompressionFilter(Filter 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 function sets the compression filter which is used to compress images.
Example
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean

// set compression filter
bBool = pdf.SetCompressionFilter(pdf.kcfJPEG)

Use kcfCCITT3, kcfCCITT4, kcfFlate, kcfFlateBW, kcfJP2K, kcfJPEG or kcfLZW constants.

Some examples using this method:

See also SetCompressionFilter function in DynaPDF manual.

DynaPDFMBS.SetContent(buffer as memoryblock) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This function replaces the content stream of the currently open page or template with a new one.

See also:

See also SetContent function in DynaPDF manual.

DynaPDFMBS.SetContent(buffer 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
This function replaces the content stream of the currently open page or template with a new one.

See also:

See also SetContent function in DynaPDF manual.

DynaPDFMBS.SetDateTimeFormat(TxtField as Integer, Fmt 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 function restricts the allowed value of a text field to a date time format and applies this format if the value was valid.

See also SetDateTimeFormat function in DynaPDF manual.

DynaPDFMBS.SetDefBitsPerPixel(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
The function sets the default color depth in bits per pixel, which determines whether images should be downsampled.

See also SetDefBitsPerPixel function in DynaPDF manual.

DynaPDFMBS.SetDocInfo(DInfo as Integer, Text 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
The function set or changes a document info entry.
Example
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean
dim source as FolderItem // source pdf file?

const diAuthor=0
const diCreator=1
const diKeywords=2
const diProducer=3
const diSubject=4
const diTitle=5

// Define some pdf properties:
bBool=pdf.SetDocInfo(diAuthor, SystemInformationMBS.Username)
bBool=pdf.SetDocInfo(diCreator, "SysProgName"+" - "+"MetSysProgVer")
bBool=pdf.SetDocInfo(diKeywords, "")
bBool=pdf.SetDocInfo(diProducer, "SysProgName"+" - "+"MetSysProgVer")
bBool=pdf.SetDocInfo(diSubject, "")
bBool=pdf.SetDocInfo(diTitle, source.name)

The text parameter is converted to unicode.

Some examples using this method:

See also SetDocInfo function in DynaPDF manual.

DynaPDFMBS.SetDocInfoAnsi(DInfo as Integer, Text as string) as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used. You can use the non ANSI function instead.
The function set or changes a document info entry.
Example
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean
dim source as FolderItem // source pdf file?

const diAuthor=0
const diCreator=1
const diKeywords=2
const diProducer=3
const diSubject=4
const diTitle=5

// Define some pdf properties:
bBool=pdf.SetDocInfoAnsi(diAuthor, SystemInformationMBS.Username)
bBool=pdf.SetDocInfoAnsi(diCreator, "SysProgName"+" - "+"MetSysProgVer")
bBool=pdf.SetDocInfoAnsi(diKeywords, "")
bBool=pdf.SetDocInfoAnsi(diProducer, "SysProgName"+" - "+"MetSysProgVer")
bBool=pdf.SetDocInfoAnsi(diSubject, "")
bBool=pdf.SetDocInfoAnsi(diTitle, source.name)

The text parameter is converted to ANSI.

See also SetDocInfo function in DynaPDF manual.

DynaPDFMBS.SetDocInfoEx(DInfo as Integer, Key as string, Text 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
The function set or changes a document info entry.

The Text parameter is converted to unicode.

See also SetDocInfoEx function in DynaPDF manual.

DynaPDFMBS.SetDocInfoExAnsi(DInfo as Integer, Key as string, Text as string) as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used. You can use the non ANSI function instead.
The function set or changes a document info entry.

The Text parameter is converted to ANSI.

See also SetDocInfoEx function in DynaPDF manual.

DynaPDFMBS.SetDrawDirection(Direction 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 function sets the draw direction of closed vector graphics such as rectangles, ellipses, triangles and so on.

Some examples using this method:

See also SetDrawDirection function in DynaPDF manual.

DynaPDFMBS.SetEMFFrameDPI(DPIX as Integer, DPIY 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
This function can be used to adjust DPI value which is used to calculate the picture size of an EMF file.

See also SetEMFFrameDPI function in DynaPDF manual.

DynaPDFMBS.SetEMFPatternDistance(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
The function changes the default distance between lines of standard patterns during EMF conversion.

See also SetEMFPatternDistance function in DynaPDF manual.

DynaPDFMBS.SetErrorMode(ErrMode 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 error mode specifies which error types should be treated as fatal error.

See also SetErrorMode function in DynaPDF manual.

DynaPDFMBS.SetExtColorSpace(Handle as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The function activates an extended color space in the graphics state.

Requires DynaPDF Pro license.

Some examples using this method:

See also SetExtColorSpace function in DynaPDF manual.

Previous items Next items

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


💬 Ask a question or report a problem
The biggest plugin in space...