Delen via


ImageHelper.GetImageSize Method

Gets the size of the image in world units.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function GetImageSize ( _
    image As Image _
) As SizeF
public static SizeF GetImageSize(
    Image image
)
public:
static SizeF GetImageSize(
    Image^ image
)
static member GetImageSize : 
        image:Image -> SizeF
public static function GetImageSize(
    image : Image
) : SizeF

Parameters

Return Value

Type: System.Drawing.SizeF

.NET Framework Security

See Also

Reference

ImageHelper Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace