Changes the selection to everything except what is currently selected.
Note: For 8 bit selections
, fully selected pixels (pixel value is 255) will be deselected (i.e. pixel value set to 0). Pixels that are not selected (pixel value is 0) or partially selected (pixel value is between 1 and 254) will become fully selected (i.e. pixel value set to 255 or SelectionIntensity
ExampleImageEnView1.Select(10, 10, 100, 100, iespReplace); // select box 10,10,100,100
ImageEnView1.InvertSelection(); // select all excluding the box 10,10,100,100