NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Graphics.MeasureStringRegion

[To be supplied.]

[Visual Basic]
Public Function MeasureStringRegion( _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal layoutRect As RectangleF, _
   ByVal stringFormat As StringFormat, _
   ByVal firstCharacterIndex As Integer, _
   ByVal characterCount As Integer _
) As Region
[C#]
public Region MeasureStringRegion(
   string text,
   Font font,
   RectangleF layoutRect,
   StringFormat stringFormat,
   int firstCharacterIndex,
   int characterCount
);
[C++]
public: Region* MeasureStringRegion(
   String* text,
   Font* font,
   RectangleF layoutRect,
   StringFormat* stringFormat,
   int firstCharacterIndex,
   int characterCount
);
[JScript]
public function MeasureStringRegion(
   text : String,
   font : Font,
   layoutRect : RectangleF,
   stringFormat : StringFormat,
   firstCharacterIndex : int,
   characterCount : int
) : Region;

Parameters

text
[To be supplied.]
font
[To be supplied.]
layoutRect
[To be supplied.]
stringFormat
[To be supplied.]
firstCharacterIndex
[To be supplied.]
characterCount
[To be supplied.]

See Also

Graphics Class | Graphics Members | System.Drawing Namespace