'Declaration
Public Overloads Function GetSize( _ ByVal graphics As System.Drawing.Graphics _ ) As System.Drawing.Size
'Usage
Dim instance As Image Dim graphics As System.Drawing.Graphics Dim value As System.Drawing.Size value = instance.GetSize(graphics)
public System.Drawing.Size GetSize( System.Drawing.Graphics graphics )
public function GetSize( graphics: System.Drawing.Graphics ): System.Drawing.Size;
public function GetSize( graphics : System.Drawing.Graphics ) : System.Drawing.Size;
public: System.Drawing.Size GetSize( System.Drawing.Graphics* graphics )
public: System.Drawing.Size GetSize( System.Drawing.Graphics^ graphics )
Parameters
- graphics
- Specifies the GDI+ drawing surface whose device units and font metrics will be used to determine the size required to draw the represented range or shape.
Return Value
The size in device units for the specified GDI+ drawing surface required to draw the represented range or shape.