반응형
private void PrintImage(string strPath)
{
m_ImagePath = strPath;
if( printDialog1.ShowDialog() != DialogResult.OK)
return;
printDocument1.PrinterSettings = printDialog1.PrinterSettings;
printDocument1.Print();
}
반응형
'Development > Visual C#' 카테고리의 다른 글
[C#] System.InvalidOperationException 에러 (0) | 2021.07.16 |
---|---|
[C#] System.InvalidOperationException 에러 (0) | 2021.07.16 |
[C#] 콜백 함수 사용 방법 (call back function) (0) | 2021.07.16 |
[C#] NamedPipe 사용 예제 (0) | 2021.07.09 |
(C#) Image to Bitmap 변환, 해상도 변경 (SetResolution) (1) | 2021.03.22 |
댓글