共用方式為


NSDocument.PrintDocument 方法

定義

多載

PrintDocument(NSObject)
PrintDocument(NSDictionary, Boolean, NSObject, Selector, IntPtr)

PrintDocument(NSObject)

[Foundation.Export("printDocument:")]
public virtual void PrintDocument (Foundation.NSObject sender);
abstract member PrintDocument : Foundation.NSObject -> unit
override this.PrintDocument : Foundation.NSObject -> unit

參數

sender
NSObject
屬性

適用於

PrintDocument(NSDictionary, Boolean, NSObject, Selector, IntPtr)

[Foundation.Export("printDocumentWithSettings:showPrintPanel:delegate:didPrintSelector:contextInfo:")]
public virtual void PrintDocument (Foundation.NSDictionary printSettings, bool showPrintPanel, Foundation.NSObject delegateObject, ObjCRuntime.Selector didPrintSelector, IntPtr contextInfo);
abstract member PrintDocument : Foundation.NSDictionary * bool * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit
override this.PrintDocument : Foundation.NSDictionary * bool * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit

參數

printSettings
NSDictionary
showPrintPanel
Boolean
delegateObject
NSObject
didPrintSelector
Selector
contextInfo
IntPtr

nativeint

屬性

適用於