Chromium Embedded Framework (CEF)  131.2.1+ge081753+chromium-131.0.6778.13
CefPdfPrintCallback Class Referenceabstract

Callback interface for CefBrowserHost::PrintToPDF. More...

#include "include/cef_browser.h"

Inheritance diagram for CefPdfPrintCallback:
CefBaseRefCounted

Public Member Functions

virtual void OnPdfPrintFinished (const CefString &path, bool ok)=0
 Method that will be executed when the PDF printing has completed. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Callback interface for CefBrowserHost::PrintToPDF.

The methods of this class will be called on the browser process UI thread.

Member Function Documentation

◆ OnPdfPrintFinished()

virtual void CefPdfPrintCallback::OnPdfPrintFinished ( const CefString path,
bool  ok 
)
pure virtual

Method that will be executed when the PDF printing has completed.

|path| is the output path. |ok| will be true if the printing completed successfully or false otherwise.


The documentation for this class was generated from the following file: