This method sets the width of the line (pen width) for the selected object.

[Visual Basic] Public Function SetSelectedObjectPenWidth(setWidth As Integer) As Boolean
[C#]public bool SetSelectedObjectPenWidth(int setWidth);

Parameters

setWidth

An integer representing the width of the line in pixels.

Return Value

Returns True if successful, otherwise returns False.

Explanation

The SetSelectedObjectPenWidth method sets the width of the line (pen width or border width) for 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 setting the "Pen Width". The units are in pixels

This method will return False if no object is selected or if the selected object is the Text or Image object.

Also See

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

 

The ImageKit.NET2 is created by Newtone Corporation