Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.SetAnnotStringAnsi(Handle as Integer, StringType as Integer, Value as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.7 Yes Yes Yes Yes No
Function: Creates a stamp annotation.

See also SetAnnotString function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetAnnotSubject(Handle 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 sets or changes the optional subject string of an annotation.
Notes: The value parameter is converted to unicode.

See also SetAnnotSubject function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetAnnotSubjectAnsi(Handle 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 sets or changes the optional subject string of an annotation.
Notes: The value parameter is converted to ANSI.

See also SetAnnotSubject function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetBBox(Boundary as Integer, LeftX as Double, LeftY as Double, RightX as Double, RightY 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 sets a specific bounding box of the current open PDF page.

See also SetBBox function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetBidiMode(BidiMode 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 bidirectional mode.

See also SetBidiMode function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetBlack(FillColor as Boolean, StrokeColor as Boolean) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 19.2 Yes Yes Yes Yes No
Function: Sets black color.
Notes:
This function is a bit optimized to check the current color space.
Depending on whether it's RGB, Gray, CMYK or Lab, it will set different color values.
And if other color space is active, it switches to Gray colorspace to set black.

Feedback, Comments & Corrections

DynaPDFMBS.SetBookmarkDest(ABmk as Integer, DestType as Integer, a as Double, b as Double, c as Double, d 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 sets or changes the destination of a bookmark.

See also SetBookmarkDest function in DynaPDF manual.

Feedback, Comments & Corrections

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

See also SetBookmarkStyle function in DynaPDF manual.

Feedback, Comments & Corrections

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

See also SetBorderStyle function in DynaPDF manual.

Feedback, Comments & Corrections

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

See also SetCharacterSpacing function in DynaPDF manual.

Feedback, Comments & Corrections

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

See also SetCheckBoxChar function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetCheckBoxDefState(Field as Integer, Checked 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 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.

Feedback, Comments & Corrections

DynaPDFMBS.SetCheckBoxState(Field as Integer, Checked 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 changes the state of a check box. The parameter Field must be a valid check box handle.

See also SetCheckBoxState function in DynaPDF manual.

Feedback, Comments & Corrections

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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.1 Yes Yes Yes Yes No
Function: Sets a CID Font.

See also SetCIDFont function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetCMapDir(path as folderitem, flags as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.2 Yes Yes Yes Yes No
Function: Sets the character map directory.
Example:
dim pdf as DynaPDFMBS // your dynapdf instance
call pdf.SetCMapDir SpecialFolder.Desktop.Child("CMAP"), 3
Notes:
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.

Feedback, Comments & Corrections

DynaPDFMBS.SetCMapDir(path as string, flags as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.2 Yes Yes Yes Yes No
Function: Sets the character map directory.
Example:
dim pdf as DynaPDFMBS // your dynapdf instance
call pdf.SetCMapDir SpecialFolder.Desktop.Child("CMAP"), 3
Notes:
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.

Feedback, Comments & Corrections

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

See also SetColDefFile function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetColorMask(ImageHandle as Integer, Mask as Ptr, Count as UInt32) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes No
Function: The functions sets or overrides the color mask of an image.
Notes: See also SetColorMask function in dynapdf_help.pdf manual.

See also:

See also SetColorMask function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetColorMask(ImageHandle as Integer, Mask() as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes No
Function: The functions sets or overrides the color mask of an image.
Notes:
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.

Feedback, Comments & Corrections

DynaPDFMBS.SetColors(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 and stroke color.

See also SetColors function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetColorSpace(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 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)

See also SetColorSpace function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetColSortField(ColField as Integer, AscendingOrder 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 collection field that should be used to sort the list of embedded files.

See also SetColSortField function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetCompressionFilter(Filter 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 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)
Notes: Use kcfCCITT3, kcfCCITT4, kcfFlate, kcfFlateBW, kcfJP2K, kcfJPEG or kcfLZW constants.

See also SetCompressionFilter function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetCompressionLevel(CompressLevel 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 compression level.

See also SetCompressionLevel function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetContent(buffer as memoryblock) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.0 Yes Yes Yes Yes No
Function: 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.

Feedback, Comments & Corrections

DynaPDFMBS.SetContent(buffer 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: 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.

Feedback, Comments & Corrections

DynaPDFMBS.SetDateTimeFormat(TxtField as Integer, Fmt 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 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.

Feedback, Comments & Corrections

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

See also SetDefBitsPerPixel function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetDocInfo(DInfo as Integer, Text 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 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)
Notes: The text parameter is converted to unicode.

See also SetDocInfo function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetDocInfoAnsi(DInfo as Integer, Text 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 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)
Notes: The text parameter is converted to ANSI.

See also SetDocInfo function in DynaPDF manual.

Feedback, Comments & Corrections

Previous items Next items

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

The biggest plugin in space...




Links
MBS Xojo tutorial videos