MuPDFCore 1.8.0
Multiplatform .NET bindings for MuPDF
Loading...
Searching...
No Matches
MuPDFCore.MuPDF Class Reference

Contains static methods to perform setup operations. More...

Static Public Member Functions

static async Task RedirectOutput ()
 Redirects output messages from the native MuPDF library to the StandardOutputMessage and StandardErrorMessage events. Note that this has side-effects. More...
 
static void ResetOutput ()
 Reset the default standard output and error streams for the native MuPDF library. More...
 

Events

static EventHandler< MessageEventArgsStandardOutputMessage
 This event is invoked when RedirectOutput has been called and the native MuPDF library writes to the standard output stream. More...
 
static EventHandler< MessageEventArgsStandardErrorMessage
 This event is invoked when RedirectOutput has been called and the native MuPDF library writes to the standard error stream. More...
 

Detailed Description

Contains static methods to perform setup operations.

Definition at line 585 of file MuPDF.cs.

Member Function Documentation

◆ RedirectOutput()

static async Task MuPDFCore.MuPDF.RedirectOutput ( )
static

Redirects output messages from the native MuPDF library to the StandardOutputMessage and StandardErrorMessage events. Note that this has side-effects.

Returns
A Task that finishes when the output streams have been redirected.

Definition at line 614 of file MuPDF.cs.

◆ ResetOutput()

static void MuPDFCore.MuPDF.ResetOutput ( )
static

Reset the default standard output and error streams for the native MuPDF library.

Definition at line 834 of file MuPDF.cs.

Event Documentation

◆ StandardErrorMessage

EventHandler<MessageEventArgs> MuPDFCore.MuPDF.StandardErrorMessage
static

This event is invoked when RedirectOutput has been called and the native MuPDF library writes to the standard error stream.

Definition at line 608 of file MuPDF.cs.

◆ StandardOutputMessage

EventHandler<MessageEventArgs> MuPDFCore.MuPDF.StandardOutputMessage
static

This event is invoked when RedirectOutput has been called and the native MuPDF library writes to the standard output stream.

Definition at line 603 of file MuPDF.cs.


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