0

我有一个 NSBitmapImageRep,我需要打印它。在打印之前我是否需要以某种方式将 ii 放入 NSView 中,或者有什么方法可以直接打印它?

4

1 回答 1

0

使用 anNSView是快速简便的方法。另见:-[NSBitmapImageRep CGImage]

另一种方法是使用 PrintCore.framework,它是 ApplicationServices.framework 的一部分。

于 2012-11-09T07:28:59.203 回答