mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
17 lines
316 B
C++
17 lines
316 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
#include <Report/Report.h>
|
|
#include <PdfDraw/PdfDraw.h>
|
|
|
|
using namespace Upp;
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
PdfDraw w;
|
|
|
|
DrawJPEG(w, 100, 100, 2000, 1333, LoadDataFile("hermes.jpg"));
|
|
|
|
String pdf = GetHomeDirFile("test.pdf");
|
|
SaveFile(pdf, w.Finish());
|
|
|
|
LaunchWebBrowser(pdf);
|
|
}
|