Font.MeasureString メソッド
アセンブリ: Microsoft.WindowsMobile.DirectX (microsoft.windowsmobile.directx.dll 内)

Public Function MeasureString ( _ sprite As Sprite, _ value As String, _ ByRef rectangle As Rectangle, _ format As DrawTextFormat _ ) As Rectangle
Dim instance As Font Dim sprite As Sprite Dim value As String Dim rectangle As Rectangle Dim format As DrawTextFormat Dim returnValue As Rectangle returnValue = instance.MeasureString(sprite, value, rectangle, format)
public Rectangle MeasureString ( Sprite sprite, string value, ref Rectangle rectangle, DrawTextFormat format )
public: Rectangle MeasureString ( Sprite^ sprite, String^ value, Rectangle% rectangle, DrawTextFormat format )
public Rectangle MeasureString ( Sprite sprite, String value, /** @ref */ Rectangle rectangle, DrawTextFormat format )
- sprite
文字列を格納している Sprite。null 参照 (Visual Basic では Nothing) を指定することもできます。その場合、Direct3D は独自のスプライト オブジェクトで文字列をレンダリングします。
Rectangle。


Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- Font.MeasureString メソッドのページへのリンク