Class PrintOperation
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class PrintOperation : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
PrintOperation
- Implements
- Inherited Members
Constructors
PrintOperation(bool, params ConstructArgument[])
protected PrintOperation(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
PrintOperation(IntPtr, bool)
protected PrintOperation(IntPtr ptr, bool ownedRef)
Parameters
Fields
FailedSignal
Signal Descriptor for OnFailed.
public static readonly Signal<PrintOperation, PrintOperation.FailedSignalArgs> FailedSignal
Field Value
FinishedSignal
Signal Descriptor for OnFinished.
public static readonly Signal<PrintOperation> FinishedSignal
Field Value
PageSetupPropertyDefinition
public static readonly Property<PageSetup?, PrintOperation> PageSetupPropertyDefinition
Field Value
PrintSettingsPropertyDefinition
public static readonly Property<PrintSettings?, PrintOperation> PrintSettingsPropertyDefinition
Field Value
WebViewPropertyDefinition
public static readonly Property<WebView?, PrintOperation> WebViewPropertyDefinition
Field Value
Properties
PageSetup
public PageSetup? PageSetup { get; set; }
Property Value
PrintSettings
public PrintSettings? PrintSettings { get; set; }
Property Value
WebView
public WebView? WebView { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetPageSetup()
public PageSetup GetPageSetup()
Returns
GetPrintSettings()
public PrintSettings GetPrintSettings()
Returns
New(WebView)
public static PrintOperation New(WebView webView)
Parameters
webView
WebView
Returns
Print()
public void Print()
RunDialog(Window?)
public PrintOperationResponse RunDialog(Window? parent)
Parameters
parent
Window
Returns
SetPageSetup(PageSetup)
public void SetPageSetup(PageSetup pageSetup)
Parameters
pageSetup
PageSetup
SetPrintSettings(PrintSettings)
public void SetPrintSettings(PrintSettings printSettings)
Parameters
printSettings
PrintSettings
Events
OnFailed
public event SignalHandler<PrintOperation, PrintOperation.FailedSignalArgs> OnFailed
Event Type
OnFinished
public event SignalHandler<PrintOperation> OnFinished