Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'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
- 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.