RhinoViewportSetUserStrings Method |
Attach a user string (key,value combination) to this viewport.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.18
Syntaxpublic bool SetUserStrings(
IEnumerable<KeyValuePair<string, string>> items,
bool replace
)
Public Function SetUserStrings (
items As IEnumerable(Of KeyValuePair(Of String, String)),
replace As Boolean
) As Boolean
Parameters
- items
- Type: System.Collections.GenericIEnumerableKeyValuePairString, String
collection of key-value pairs to set. - replace
- Type: SystemBoolean
If True, the previous user string will be removed
Return Value
Type:
Booleantrue on success.
See Also