public IntPtr CreateObjectSettings() { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Creating object settings (wkhtmltopdf_create_object_settings)"); return(WkhtmltoxBindings.wkhtmltopdf_create_object_settings()); }
public int GetHttpErrorCode(IntPtr converter) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Requesting http error code (wkhtmltopdf_http_error_code)"); return(WkhtmltoxBindings.wkhtmltopdf_http_error_code(converter)); }
public IntPtr CreateGlobalSettings() { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Creating global settings (wkhtmltopdf_create_global_settings)"); return(WkhtmltoxBindings.wkhtmltopdf_create_global_settings()); }
public string GetPhaseDescription(IntPtr converter, int phase) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Requesting phase description (wkhtmltopdf_phase_description)"); return(Marshal.PtrToStringAnsi(WkhtmltoxBindings.wkhtmltopdf_phase_description(converter, phase))); }
public string GetProgressDescription(IntPtr converter) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Requesting progress string (wkhtmltopdf_progress_string)"); return(Marshal.PtrToStringAnsi(WkhtmltoxBindings.wkhtmltopdf_progress_string(converter))); }
public int GetPhaseCount(IntPtr converter) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Requesting phase count (wkhtmltopdf_phase_count)"); return(WkhtmltoxBindings.wkhtmltopdf_phase_count(converter)); }
public int GetPhaseNumber(IntPtr converter) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Requesting current phase (wkhtmltopdf_current_phase)"); return(WkhtmltoxBindings.wkhtmltopdf_current_phase(converter)); }
public void AddObject(IntPtr converter, IntPtr objectConfig, byte[] html) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Adding byte[] object (wkhtmltopdf_add_object)"); WkhtmltoxBindings.wkhtmltopdf_add_object(converter, objectConfig, html); }
public bool PerformConversion(IntPtr converter) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Starting conversion (wkhtmltopdf_convert)"); return(WkhtmltoxBindings.wkhtmltopdf_convert(converter) != 0); }
public IntPtr CreateConverter(IntPtr globalSettings) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Creating converter (wkhtmltopdf_create_converter)"); return(WkhtmltoxBindings.wkhtmltopdf_create_converter(globalSettings)); }