API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

GetPDF() - hvordan bruger jeg den?

0
Er der én der kan give et eksempel på hvordan jeg anvender IOrder GetPDF() ?

Jeg har prøvet mig frem, desværre uden held. Så jeg håber at der er én der kan hjælpe mig videre...

mvh Carsten
created Aug 6, 2009 by cja
0% Accept Rate
Q 1 A 1 C 0

2 Answers

0
EconomicApiIOrder objOrder = objEcoSessionOrderFindByNumber(number);
byte bytes = objOrderGetPdf();

Så kan du på Web
ResponseContentType = application/pdf;
ResponseBinaryWrite(bytes);
ResponseEnd();

Eller skrive en fil med FileStream objektets Write metode:
Se: http//msdnmicrosoftcom/en-us/library/systemiofilestreamwriteaspx

God fornøjelse
-Kevin
answered Aug 11, 2009 by ksteffer
0
Tusind tak for hjælpen!

Nu har jeg det til at fungere   

mvh Carsten
answered Aug 13, 2009 by cja

Network

Find all the documentation and resources you need to build great apps.
Go to Developer site

Newsletter

Get the latest news and important info from the e-conomic developer world.
Sign up now

Visma e-conomic A/S
...