70001288 I wish to have a FindImage method like FindBlock

Article 70001288
Type Wish
Product WebJS
Version 7014
Date Added 3/1/2018
Fixed 7.7015.0.1 (3/1/2018)
Submitted by Brendan Fry

Summary

I wish to have a FindImage method like FindBlock which already exists

Solution

A new method FindImageDefinition of vdcanvas was added in version 7015.0.1
Usage:

object idef = vdcanvas.FindImageDefinition(imageTableName);

Returns the ImageDefinition defined by the given name, that belongs to the collection return by vdcanvas.GetImages()
If passed imageTableName does not exist in the images collection the function returns null;

Send comments on this topic.