Xamarin Pack Programmer's Guide
Shape.ImageRectangle Property
See Also
 






Gets or sets the position of the images displayed in instances of this shape.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Rectangle ImageRectangle { get; set; }

Visual Basic  Copy Code

Public Property ImageRectangle As Rectangle

 Property Value

A Rectangle object specifying the location of an image relatively to the shape node that displays the image.

 Remarks

The coordinates of the image location are specified in percent, relatively to the rectangular bounds of shape nodes. The default value (0, 0, 100, 100) makes the image displayed in the whole area of that node.

 See Also

Shape Members
Shape Class
MindFusion.Diagramming Namespace