VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.UIElements Namespace / WebUiElementCollectionJS type / getItemByRegisteredId Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
getItemByRegisteredId Method
In This Topic
Returns the first item with specified registered identifier.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementCollectionJS(items, readOnly);

var value; // Type: Vintasoft.Imaging.UI.UIElements.WebUiElementJS

// Parameters
var id; // Type: string

value = instance.getItemByRegisteredId(id);

Parameters

id
The registered identifier of UI element.

Return Value

A WebUiElementJS object if collection contains item with specified registered identifier; otherwise, null.
Exceptions
ExceptionDescription
Thrown if "id" has wrong type.
Thrown if "id" is empty string (what means that element is custom).
Browser Compatibility
56+
45+
11
See Also