This method sets the colors in the selected object.

[Visual Basic] Public Function SetSelectedObjectColors(setFCol As Color, setBCol As Color, setBdrCol As Color) As Boolean
[C#]public bool SetSelectedObjectColors(Color setFCol, Color setBCol, Color setBdrCol);

Parameters

setFCol

A value of type Color that represents the forecolor (the color of the line or the color of the text)

setBCol

A value of type Color that represents the background color (the fill color)

setBdrCol

A value of type Color that represents the border color

Return Value

Returns True if successful, otherwise returns False.

Explanation

The SetSelectedObjectColors method sets the color in the selected object.

Executing this method is the same as selecting an object, right clicking on that object to display the context menu, and selecting "Properties", and then setting values for "Pen Color", "Font Color", "Border Color" and "Fill Color".

This method will return False, if no object has been selected or if the selected object is the PasteImage object.

Also See

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

 

The ImageKit.NET2 is created by Newtone Corporation