DevOops
  • Home
  • About
  • Indonesia
  • Matzip
  • Microsoft MVP
Subscribe
Tagged

Print

A collection of 1 post

Xamarin

Xamarin.Mac 인쇄하기(Print)

Xamarin.Mac에서 인쇄하는 것은 한 가지만 기억하면 됩니다. 바로 NSPrintOperation 클래스! 여기서는 ViewController에서 바로 접근이 가능한 View를 인쇄하는 코드를 예로 들겠습니다. partial void PrintButtonClick(Foundation.NSObject sender) { NSPrintOperation po = NSPrintOperation.FromView(this.View); po.RunOperation(); } 프린트하고 싶은 View 구성한 다음에 NSPrintOperation의 FromView에 넘겨주기만 하면 됩니다. 참 쉽죠? 이미지 출처: https:

  • Gilbok Lee
Gilbok Lee Dec 30, 2016 • 1 min read
DevOops © 2025
  • Data & privacy
  • Contact
  • Contribute →
Powered by Ghost