DynamicPDF in C++

DynamicPDF in C++

Forum member · Dec 19, 2005
Hi all, I need to embed DynamicPDF in VC++ .NET I am lost!!! as there are no examples for C++. Can anyone help me or give me a small example of how its done. Thanx... cheers, kathy

Re: DynamicPDF in C++

Support · Dec 19, 2005
Hello Kathy, Following is the code that will work for you in VC++ .NET. Make sure you have reference to the assembly in your Visual C++ project. Code: ceTe::DynamicPDF::Document *document = new ceTe::DynamicPDF::Document(); ceTe::DynamicPDF::Page *page = new ceTe::DynamicPDF::Page(); ceTe::DynamicPDF::PageElements::Label *label = new ceTe::DynamicPDF::PageElements::Label("hello World",100,100,100,100); page->Elements->Add(label); document->Pages->Add(page); document->Draw("C:\\temp\\CPPTest.pdf"); Thanks, ceTe Software Support Team