Attachment
Object Hierarchy:
Description:
public class Attachment :
Object
Namespace: Poppler
Package: poppler-glib
Content:
Creation methods:
Methods:
-
public bool save (string filename) throws Error
Saves attachment to a file indicated by filename. If error is
set, false will be returned. Possible errors include those in the
FileError domain and whatever the save function generates.
-
public bool save_to_callback (AttachmentSaveFunc save_func) throws Error
Saves attachment by feeding the produced data to save_func. Can be used when
you want to store the attachment to something other than a file, such as an in-memory buffer or a socket. If error is
set, false will be returned. Possible errors include those in the
FileError domain and whatever the save function generates.
Fields: