Image Selector
Selector with coordinates or image path
// The selector attribute with x and y coordinates
[Selector("#controlId", 50, 50)]
public IControlSlice SomeControlSlice { get; set; }
// The selector attribute with x1, y1, optional x2, optional y2 coordinates
// The optional coordinates are to define a rectangle inside the control
[Selector("#controlId", 50, 50, 100, 100)]
public IControlSlice SomeControlSlice { get; set; }
// The selector attribute with an image path
// The path could be absolute or relative
[Selector("#controlId", "..//controlSliceImage.jpg")]
public IControlSlice SomeControlSlice { get; set; }Last updated
Was this helpful?