Platforms to show: All Mac Windows Linux Cross-Platform

Back to LCMS2IT8MBS class.

Previous items

LCMS2IT8MBS.SetDataRowColAsDouble(Row as Integer, Col as Integer, Val as Double) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets a cell [Patch, Sample] as a double in current table.

This function is fast since it has not to search columns or rows by name.

row, col: The position of the cell.
Val: The value to be set, as a cmsFloat64Number

Returns true on success, false on error

LCMS2IT8MBS.SetIndexColumn(Sample as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the index column.

LCMS2IT8MBS.SetPropertyDouble(Prop as string, Value as Double) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets a property as a double in current table.

Prop: A string holding property name.
Value: The data for the intended property as Double.

Returns true on success, false on error.

LCMS2IT8MBS.SetPropertyHex(Prop as string, Value as UInt32) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets a property as an hexadecimal constant (appends 0x) in current table.

Prop: A string holding property name.
Value: The value to be set (32 bits max)

Returns true on success, false on error.

LCMS2IT8MBS.SetPropertyMulti(Key as string, SubKey as string, Value as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a new sub‐property to the property Key.

Value of buffer is interpreted literally.

Key: A string holding property name.
SubKey: A string holding the sub‐property name.
Buffer: A string holding the uncooked value of sub‐property.

Returns true on success, false on error.

LCMS2IT8MBS.SetPropertyString(Prop as string, Value as String) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets a property as a literal string in current table.

The string is enclosed in quotes "".
Returns true on success, false on error.

LCMS2IT8MBS.SetPropertyUncooked(Prop as string, Value as Memoryblock) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets a property with no interpretation in current table.

No quotes "" are added. No checking is performed, and it is up to the programmer to make sure the string is valid.
Special prefixes:
0b: Binary
0x : Hexadecimal

Parameters:
cProp: A string holding property name.
Buffer: A string holding the uncooked value to place in the CGATS file.

Returns true on success, false on error.

LCMS2IT8MBS.SetSheetType(type as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This function sets the type of a CGATS.17 object to the new type.

Returns true on success, false on error.

LCMS2IT8MBS.SetTable(nTable as UInt32) as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This function positions the IT8 object in a given table, identified by its position.

Setting nTable to Table Count + 1 does allocate a new empty table.
Returns the current table number on success, ‐1 on error.

Some examples using this method:

LCMS2IT8MBS.SetTableByLabel(Set as string, Field as string, ExpectedType as string) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets table by label.

LCMS2IT8MBS.TableCount as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This function returns the number of tables found in the current CGATS object.

Returns the number of tables on success, 0 on error.

Some examples using this method:

LCMS2IT8MBS.ValidKeywords as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 13.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns list of valid keywords.

This is a helper method in our plugin. May stop working if the internals of LCMS2 change in an update.

Some examples using this method:

LCMS2IT8MBS.ValidSampleIDs as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method LCMS2 MBS Images Plugin 13.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns list of valid sample IDs.

This is a helper method in our plugin. May stop working if the internals of LCMS2 change in an update.

Some examples using this method:

Previous items

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


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