The LineJoin property allows you to set the joining style for straight and continuous line objects. Multiple join styles are possible.

You can also change these settings after drawing with the SelectedObjectLineJoin property.

Line Join Style Example

Example Code

Set the polyline joining style to "Round".

The same thing can be done using Toolbar Controls. See Using Toolbars.

[Visual Basic.NET]

'When using Annotation function, the following property must be set to True.
ImageKit1.Edit.EditEnabled = True

'Set object to polyline
ImageKit1.Edit.EditKind = Newtone.ImageKit.Win.KindOfEdit.Polyline
ImageKit1.Edit.PenWidth = 10
ImageKit1.Edit.ForeColor = Color.Red

'Set linejoin style
ImageKit1.Edit.LineJoin = System.Drawing.Drawing2D.LineJoin.Round

'After this, draw a polyline using the mouse or executing a method

[Visual C#.NET]

//When using Annotation function, the following property must be set to True.
ImageKit1.Edit.EditEnabled = true;

//Set object to polyline
ImageKit1.Edit.EditKind = Newtone.ImageKit.Win.KindOfEdit.Polyline;
ImageKit1.Edit.PenWidth = 10;
ImageKit1.Edit.ForeColor = Color.Red;

//Set linejoin style
ImageKit1.Edit.LineJoin = System.Drawing.Drawing2D.LineJoin.Round;

//After this, draw a polyline with the mouse or method

Relevant Properties

ImageKit.Edit.LineJoin
ImageKit.Edit.SelectedObjectLineJoin

The ImageKit WPF is created by Newtone Corporation