This function destroyes a PDF document object.
fun [ObjPdfDoc] I
Return : I 0 if success, NIL otherwise