Measure(Graphics,Int32) Method
'Declaration
Public Overloads Function Measure( _
ByVal As System.Drawing.Graphics, _
ByVal As System.Integer _
) As System.Drawing.Size
public System.Drawing.Size Measure(
System.Drawing.Graphics ,
System.int
)
Parameters
- graphics
- System.Drawing.Graphics used to measure.
- width
- Width used to calculate word-wrapping.
Return Value
System.Drawing.Size object that represents the size of the content, in pixels.