Click or drag to resize

CefPrintHandler Class

Implement this interface to handle printing on Linux. The methods of this class will be called on the browser process UI thread.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefPrintHandler

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public abstract class CefPrintHandler

The CefPrintHandler type exposes the following members.

Constructors
 NameDescription
Protected methodCefPrintHandlerInitializes a new instance of the CefPrintHandler class
Top
Properties
 NameDescription
Protected propertySyncRoot 
Top
Methods
 NameDescription
Protected methodDisposeReleases the unmanaged resources used by the CefPrintHandler and optionally releases the managed resources
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetPdfPaperSize Return the PDF paper size in device units. Used in combination with CefBrowserHost::PrintToPDF().
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnPrintDialog Show the print dialog. Execute |callback| once the dialog is dismissed. Return true if the dialog will be displayed or false to cancel the printing immediately.
Protected methodOnPrintJob Send the print job to the printer. Execute |callback| once the job is completed. Return true if the job will proceed or false to cancel the job immediately.
Protected methodOnPrintReset Reset client state related to printing.
Protected methodOnPrintSettings Synchronize |settings| with client state. If |get_defaults| is true then populate |settings| with the default print settings. Do not keep a reference to |settings| outside of this callback.
Protected methodOnPrintStart Called when printing has started for the specified |browser|. This method will be called before the other OnPrint*() methods and irrespective of how printing was initiated (e.g. CefBrowserHost::Print(), JavaScript window.print() or PDF extension print button).
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also