loading table of contents...

6.9. FOREST_FILE_TOPDF()

 
FOREST_FILE_TOPDF
Convierte un archivo a formato PDF.
Retorna: integer 
Retorna los bytes del nuevo archivo en formato PDF
Parámetros:
integer  bytes
Bytes del archivo a transformar
string  extención
Extensión del archivo a transformar
boolean  valida
Valida si se requiere pasar el nuevo archivo a PDFA
Versión: 3.0+
 
Ejemplo:
// devuelve los bytes de un archivo transformado a PDF
combinado_final = FOREST_FILE_TOPDF(combinado, "docx", true);
donde combinado son los bytes del archivo original