ImageHelper.GetImageSize Method
Gets the size of the image in world units.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
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
- image
Type: System.Drawing.Image
The image to query for its size.
Return Value
Type: System.Drawing.SizeF
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.