BufferedGraphicsContext.MaximumBuffer プロパティ
アセンブリ: System.Drawing (system.drawing.dll 内)

Dim instance As BufferedGraphicsContext Dim value As Size value = instance.MaximumBuffer instance.MaximumBuffer = value
/** @property */ public Size get_MaximumBuffer () /** @property */ public void set_MaximumBuffer (Size value)
バッファの最大サイズを示す Size。


このプロパティを使用すると、メモリ内に保持する必要があるバッファの最大サイズを取得または設定できます。バッファのサイズは任意に割り当てることができますが、MaximumBuffer のサイズよりも大きなバッファが一時的に使用され、BufferedGraphics オブジェクトが解放されたときに破棄されます。

BufferedGraphicsContext のバッファの最大サイズを設定する例を次に示します。このコードは、BufferedGraphics クラスのトピックで取り上げているコード例の一部分です。
' Sets the maximum size for the graphics buffer ' of the buffered graphics context. Any allocation ' requests for a buffer larger than this will create ' a temporary buffered graphics context to host ' the graphics buffer. appDomainBufferedGraphicsContext.MaximumBuffer = New Size(400, 400)
// Sets the maximum size for the graphics buffer // of the buffered graphics context. Any allocation // requests for a buffer larger than this will create // a temporary buffered graphics context to host // the graphics buffer. appDomainBufferedGraphicsContext.MaximumBuffer = new Size(400, 400);
// Sets the maximum size for the graphics buffer // of the buffered graphics context. Any allocation // requests for a buffer larger than this will create // a temporary buffered graphics context to host // the graphics buffer. appDomainBufferedGraphicsContext->MaximumBuffer = System::Drawing::Size( 400, 400 );


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


BufferedGraphicsContext クラス
BufferedGraphicsContext メンバ
System.Drawing 名前空間
その他の技術情報
ダブル バッファリングされたグラフィックス
Weblioに収録されているすべての辞書からBufferedGraphicsContext.MaximumBuffer プロパティを検索する場合は、下記のリンクをクリックしてください。

- BufferedGraphicsContext.MaximumBuffer プロパティのページへのリンク