Esempio n. 1
0
func (self *Converter) AddHtml(settings *ObjectSettings, data string) {
	c_data := C.CString(data)
	defer C.free(unsafe.Pointer(c_data))
	C.wkhtmltopdf_add_object(self.c, settings.s, c_data)
}
Esempio n. 2
0
func (self *Converter) Add(settings *ObjectSettings) {
	C.wkhtmltopdf_add_object(self.c, settings.s, nil)
}