Returns the region where an image should be displayed for specified alignment.
Namespace: MindFusion
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public static Rect ImageRect ( |
Visual Basic Copy Code |
---|
Public Shared Function ImageRect( _ |
A member of the ImageAlign enumeration.
Layout rectangle relatively to which the image is aligned.
The image size.
A System.Windows.Rect specifying image placement.