Search
InternalUtils.ImageRect Method
See Also
 





Returns the region where an image should be displayed for specified alignment.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static RectangleF ImageRect (
    ImageAlign align,
    RectangleF layoutRect,
    Size imageSize
)

Visual Basic  Copy Code

Public Shared Function ImageRect( _
    align As ImageAlign, _
    layoutRect As RectangleF, _
    imageSize As Size _
) As RectangleF

 Parameters

align

A member of the ImageAlign enumeration.

layoutRect

Layout rectangle relatively to which the image is aligned.

imageSize

The image size.

 Return Value

A RectangleF specifying image placement.

 See Also