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.
フラッシュをレンダリングする必要があるため、win フォーム アプリで AxWebBrowser のインスタンスを作成しています。C# でレンダリングされたページのスクリーンショットを撮るにはどうすればよいですか?
使用するだけのカント
Graphics g = Graphics.FromImage(myImage); g.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy);
..明らかにあなたの窓の寸法などで?試したことはありませんが、なぜうまくいかないのか想像できません。