PerformDrawOrMeasure Method
PerformDrawOrMeasure(IntPtr, IntPtr, Rectangle, int, int, bool, ref Rectangle, ref int, ref bool)
Declaration
protected void PerformDrawOrMeasure(IntPtr drawDc, IntPtr measureDc, Rectangle boundsRectTwips, int startIndex, int length, bool performDrawing, ref Rectangle measuredRectTwips, ref int fittedCharsCount, ref bool allCharsFitted)
Protected Sub PerformDrawOrMeasure(drawDc As IntPtr, measureDc As IntPtr, boundsRectTwips As Rectangle, startIndex As Integer, length As Integer, performDrawing As Boolean, ByRef measuredRectTwips As Rectangle, ByRef fittedCharsCount As Integer, ByRef allCharsFitted As Boolean)
Parameters
| Type |
Name |
Description |
| IntPtr |
drawDc |
|
| IntPtr |
measureDc |
|
| Rectangle |
boundsRectTwips |
|
| int |
startIndex |
|
| int |
length |
|
| bool |
performDrawing |
|
| Rectangle |
measuredRectTwips |
|
| int |
fittedCharsCount |
|
| bool |
allCharsFitted |
|
PerformDrawOrMeasure(Graphics, Graphics, Rectangle, int, int, bool, ref Rectangle, ref int, ref bool)
Declaration
protected void PerformDrawOrMeasure(Graphics drawGraphics, Graphics measureGraphics, Rectangle boundsRectTwips, int startIndex, int length, bool performDrawing, ref Rectangle measuredRectTwips, ref int fittedCharsCount, ref bool allCharsFitted)
Protected Sub PerformDrawOrMeasure(drawGraphics As Graphics, measureGraphics As Graphics, boundsRectTwips As Rectangle, startIndex As Integer, length As Integer, performDrawing As Boolean, ByRef measuredRectTwips As Rectangle, ByRef fittedCharsCount As Integer, ByRef allCharsFitted As Boolean)
Parameters
| Type |
Name |
Description |
| Graphics |
drawGraphics |
|
| Graphics |
measureGraphics |
|
| Rectangle |
boundsRectTwips |
|
| int |
startIndex |
|
| int |
length |
|
| bool |
performDrawing |
|
| Rectangle |
measuredRectTwips |
|
| int |
fittedCharsCount |
|
| bool |
allCharsFitted |
|