C# Class WkHtmlToXSharp.WkHtmlToPdfConverter

Plain wrapper around wkhtmltox API library.
WARNING: Due to underlaying's API restrictions all calls to instances of this class should be made from within the same thread!! See MultiplexingConverter for an interim & transparent solution.
Inheritance: IHtmlToPdfConverter
Afficher le fichier Open project: hmadrigal/playground-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
Convert ( ) : byte[]
Convert ( string inputHtml ) : byte[]
Dispose ( ) : void
WkHtmlToPdfConverter ( ) : System

Private Methods

Méthode Description
Dispose ( bool disposing ) : void
GetProperties ( string prefix, object instance ) : object>.IDictionary
GetStringValue ( object value ) : string
OnBegin ( int expectedPhases ) : void
OnError ( IntPtr ptr, string error ) : void
OnFinished ( IntPtr converter, bool success ) : void
OnPhaseChanged ( IntPtr converter ) : void
OnProgressChanged ( IntPtr converter, int progress ) : void
OnWarning ( IntPtr ptr, string warn ) : void
_BuildConverter ( IntPtr globalSettings, IntPtr objectSettings, string inputHtml ) : IntPtr
_BuildGlobalSettings ( ) : IntPtr
_BuildObjectsettings ( ) : IntPtr
_Convert ( string inputHtml ) : byte[]
_SetGlobalSetting ( IntPtr settings, string name, object value ) : void
_SetObjectSetting ( IntPtr settings, string name, object value ) : void

Method Details

Convert() public méthode

public Convert ( ) : byte[]
Résultat byte[]

Convert() public méthode

public Convert ( string inputHtml ) : byte[]
inputHtml string
Résultat byte[]

Dispose() public méthode

public Dispose ( ) : void
Résultat void

WkHtmlToPdfConverter() public méthode

public WkHtmlToPdfConverter ( ) : System
Résultat System