C# Класс GeckofxHtmlToPdf.GeckofxHtmlToPdfComponent

Наследование: System.ComponentModel.Component, nsIWebProgressListener
Показать файл Открыть проект

Открытые методы

Метод Описание
GeckofxHtmlToPdfComponent ( ) : System
GeckofxHtmlToPdfComponent ( IContainer container ) : System
OnLocationChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, nsIURI aLocation, uint aFlags ) : void
OnProgressChange ( nsIWebProgress webProgress, nsIRequest request, int currentSelfProgress, int maxSelfProgress, int currentTotalProgress, int maxTotalProgress ) : void
OnSecurityChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aState ) : void
OnStateChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aStateFlags, int aStatus ) : void
OnStatusChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, int aStatus, string aMessage ) : void
Start ( ConversionOrder conversionOrder ) : void

On the application event thread, work on creating the pdf. Will raise the StatusChanged and Finished events

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

RaiseFinished ( ) : void
RaiseStatusChanged ( PdfMakingStatus e ) : void

Приватные методы

Метод Описание
FinishMakingPdf ( ) : void
GetPaperSize ( string name ) : PaperSize
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnBrowserConsoleMessage ( object sender, Gecko.ConsoleMessageEventArgs e ) : void
OnCheckForBrowserNavigatedTimerTick ( object sender, EventArgs e ) : void
OnCheckForPdfFinishedTimer_Tick ( object sender, EventArgs e ) : void
StartMakingPdf ( ) : void

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

GeckofxHtmlToPdfComponent() публичный Метод

public GeckofxHtmlToPdfComponent ( ) : System
Результат System

GeckofxHtmlToPdfComponent() публичный Метод

public GeckofxHtmlToPdfComponent ( IContainer container ) : System
container IContainer
Результат System

OnLocationChange() публичный Метод

public OnLocationChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, nsIURI aLocation, uint aFlags ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aLocation nsIURI
aFlags uint
Результат void

OnProgressChange() публичный Метод

public OnProgressChange ( nsIWebProgress webProgress, nsIRequest request, int currentSelfProgress, int maxSelfProgress, int currentTotalProgress, int maxTotalProgress ) : void
webProgress nsIWebProgress
request nsIRequest
currentSelfProgress int
maxSelfProgress int
currentTotalProgress int
maxTotalProgress int
Результат void

OnSecurityChange() публичный Метод

public OnSecurityChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aState ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aState uint
Результат void

OnStateChange() публичный Метод

public OnStateChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aStateFlags, int aStatus ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aStateFlags uint
aStatus int
Результат void

OnStatusChange() публичный Метод

public OnStatusChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, int aStatus, string aMessage ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aStatus int
aMessage string
Результат void

RaiseFinished() защищенный Метод

protected RaiseFinished ( ) : void
Результат void

RaiseStatusChanged() защищенный Метод

protected RaiseStatusChanged ( PdfMakingStatus e ) : void
e PdfMakingStatus
Результат void

Start() публичный Метод

On the application event thread, work on creating the pdf. Will raise the StatusChanged and Finished events
public Start ( ConversionOrder conversionOrder ) : void
conversionOrder ConversionOrder
Результат void