How to add arrow shape with specific heigth, width, direction,... ?

Dear,

How can I add an arrow shape into the imageeditor with a specified height, length, direction (pointing upwards, or downwards, or left, or right, or any other angle).

Currently I use the following code, but the BOUNDS property seems to be ignored for an arrow (where it does work fine for a circle or rectangle)

Snippet
var Red = new SolidColorBrush(Colors.Red);
PenSettings penSettings = new PenSettings()
{
    StrokeWidth = 8,
    Stroke = Red,
    Fill = Red,
    Bounds = new Rect(20202020)
 
};
imageeditor.AddShape(ShapeType.Arrow, penSettings);

Best regards,
Koen


1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team March 21, 2022 04:06 PM UTC

Currently, the Bounds property will be supported only for the Rectangle and Circle shapes. We don't have support to customize the bounds for arrow shape in the SfImageEditor. 


Loader.
Up arrow icon