Table of Contents

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 bool
constructArguments ConstructArgument[]

PrintOperation(IntPtr, bool)

protected PrintOperation(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

FailedSignal

Signal Descriptor for OnFailed.

public static readonly Signal<PrintOperation, PrintOperation.FailedSignalArgs> FailedSignal

Field Value

Signal<PrintOperation, PrintOperation.FailedSignalArgs>

FinishedSignal

Signal Descriptor for OnFinished.

public static readonly Signal<PrintOperation> FinishedSignal

Field Value

Signal<PrintOperation>

PageSetupPropertyDefinition

public static readonly Property<PageSetup?, PrintOperation> PageSetupPropertyDefinition

Field Value

Property<PageSetup, PrintOperation>

PrintSettingsPropertyDefinition

public static readonly Property<PrintSettings?, PrintOperation> PrintSettingsPropertyDefinition

Field Value

Property<PrintSettings, PrintOperation>

WebViewPropertyDefinition

public static readonly Property<WebView?, PrintOperation> WebViewPropertyDefinition

Field Value

Property<WebView, PrintOperation>

Properties

PageSetup

public PageSetup? PageSetup { get; set; }

Property Value

PageSetup

PrintSettings

public PrintSettings? PrintSettings { get; set; }

Property Value

PrintSettings

WebView

public WebView? WebView { get; }

Property Value

WebView

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetPageSetup()

public PageSetup GetPageSetup()

Returns

PageSetup

GetPrintSettings()

public PrintSettings GetPrintSettings()

Returns

PrintSettings

New(WebView)

public static PrintOperation New(WebView webView)

Parameters

webView WebView

Returns

PrintOperation

Print()

public void Print()

RunDialog(Window?)

public PrintOperationResponse RunDialog(Window? parent)

Parameters

parent Window

Returns

PrintOperationResponse

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

SignalHandler<PrintOperation, PrintOperation.FailedSignalArgs>

OnFinished

public event SignalHandler<PrintOperation> OnFinished

Event Type

SignalHandler<PrintOperation>