Platforms to show: All Mac Windows Linux Cross-Platform

Back to DynaPDFMBS class.

Previous items

DynaPDFMBS.TranslateString(IFont as Integer, text as string, flags as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DynaPDF MBS DynaPDF Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Translates a string.

See also:

See also TranslateString function in DynaPDF manual.

DynaPDFMBS.TranslateString(stack as DynaPDFStackMBS, flags as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DynaPDF MBS DynaPDF Plugin 8.6 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The function translates a binary string returned by GetPageText() to Unicode.

See also:

See also TranslateString function in DynaPDF manual.

DynaPDFMBS.WeightToStyle(s as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DynaPDF MBS DynaPDF Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Converts a weight value to a style value.

DynaPDFMBS.WidthFromStyle(s as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DynaPDF MBS DynaPDF Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Converts a style constant to the width value.

Some examples using this method:

DynaPDFMBS.WidthToStyle(s as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DynaPDF MBS DynaPDF Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Converts a width value to a style value.

DynaPDFMBS.YofCMYK(CMYK as UInt32) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DynaPDF MBS DynaPDF Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns Y of a CMYK color value.
Example
dim cmyk as Integer = DynaPDFMBS.CMYK(1,2,3,4)
MsgBox str(DynaPDFMBS.YofCMYK(cmyk)) // shows 3

Returns different values on BigEndian and LittleEndian systems.

Some examples using this method:

Previous 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...