This method will fill (or unfill) the selected object.

[Visual Basic] Public Function SetSelectedObjectFill(setFill As Boolean) As Boolean
[C#]public bool SetSelectedObjectFill(bool setFill);

Parameters

setFill

A value of type bool(Boolean) representing whether or not to fill the object

Return Value

Returns True if successful, otherwise returns False.

Explanation

Executing the SetSelectedObjectFill method, when the setFill parameter is set to True, will fill the selected object. Executing it when the setFill parameter is set to False, will unfill the selected object.

Executing this method is the same as selecting an object, right clicking the object to display the context menu, selecting "Properties" and then checking (or unchecking) the "Fill" checkbox.

Executing this method when the selected object is the Polygon, Rectangle, or Ellipse objects will fill the interior of the object with the background color. If the selected object is the Text object, then the background color will be displayed.

This method will return False when no object has been selected or when the selected object is the Line, Polyline, Pen, or PasteImage object.

Also See

ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit

 

The ImageKit.NET2 is created by Newtone Corporation