Gets or sets the position of the images displayed in instances of this shape.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public Rect ImageRectangle { get; set; } |
Visual Basic Copy Code |
---|
Public Property ImageRectangle As Rect |
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.
WpfDiagram Programmer's Guide | © 2024 MindFusion |