Hello World

  • 홈
  • 태그
  • 방명록

C# CreateGraphics 1

[C#]PrintWindow를 이용한 화면캡쳐 예제

using System.Runtime.InteropServices; [DllImport("user32.dll")] static extern bool PrintWindow(IntPtr hwnd, IntPtr hDC, uint nFlags); private void button1_Click(object sender, EventArgs e) { Graphics g = this.CreateGraphics(); Bitmap bmp = new Bitmap(this.Width, this.Height, g); Graphics imgGraphics = Graphics.FromImage(bmp); IntPtr dc = imgGraphics.GetHdc(); bool success = Pr..

C# 2018.05.18
이전
1
다음
더보기
프로필사진

Hello World

  • 분류 전체보기 (198)
    • C# (160)
    • ORACLE (23)
    • MSSQL (1)
    • 한옥집 리모델링 (12)

Tag

WIN CE.NET, 귀농귀촌, 나바위성당, WINDOWS MOBILE, 한옥철거, 나바위성지, C#, 한옥리모델링, PDA, 익산시 망성면,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바