Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のようにビットマップで文字列を描画したい:
Font myfont=new Font("TimesNewRoman",18) Bitmap bmpBitmap =new Bitmap(200,100); Graphics g=Graphics.FromImage(bmpBitmap); g.DrawString("SampleText",myfont,Brushes.Black);
ビットマップのサイズを決定するにはどうすればよいですか?