function val = getSnapToDataVertex(obj)
hFig = ancestor(obj,'figure');
dm = datacursormode(hFig);
val = dm.SnapToDataVertex;
end


