{"id":15,"date":"2008-09-02T11:56:39","date_gmt":"2008-09-02T16:56:39","guid":{"rendered":"http:\/\/coherentpdf.com\/blog\/?p=15"},"modified":"2010-02-16T10:06:25","modified_gmt":"2010-02-16T15:06:25","slug":"building-cpdf-into-a-net-library-progress","status":"publish","type":"post","link":"https:\/\/coherentpdf.com\/blog\/?p=15","title":{"rendered":"Building Cpdf into a .NET library &#8211; progress"},"content":{"rendered":"<p>I&#8217;ve been turning our <a href=\"http:\/\/www.coherentpdf.com\/\">cpdf PDF command line tools<\/a> into a .NET DLL by cross-compiling it with <a href=\"http:\/\/research.microsoft.com\/fsharp\/fsharp.aspx\">F#<\/a>. Here are a couple of screenshots of editing code using the library in C#.<\/p>\n<p><a href='https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf1.png'><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf1.png\" alt=\"Automatically generated Tooltips for Cpdf functions\" title=\"cpdf1\" width=\"500\" height=\"113\" class=\"aligncenter size-full wp-image-16\" srcset=\"https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf1.png 756w, https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf1-300x67.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p><a href='https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf2.png'><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf2.png\" alt=\"\" title=\"cpdf2\" width=\"500\" height=\"258\" class=\"aligncenter size-full wp-image-17\" srcset=\"https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf2.png 578w, https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf2-300x155.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>And here are a couple of screenshots of Microsoft&#8217;s <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyId=86CE6052-D7F4-4AEB-9B7A-94635BEEBDDA&#038;displaylang=en\">CLRProfiler<\/a> which profiles garbage collection and memory usage.<\/p>\n<p><a href='https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf3.png'><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf3.png\" alt=\"Debugging with CLRProfiler\" title=\"cpdf3\" width=\"500\" height=\"343\" class=\"aligncenter size-full wp-image-18\" srcset=\"https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf3.png 720w, https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf3-300x205.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><a href='https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf4.png'><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf4.png\" alt=\"Debugging with CLRProfiler\" title=\"cpdf4\" width=\"500\" height=\"396\" class=\"aligncenter size-full wp-image-19\" srcset=\"https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf4.png 649w, https:\/\/coherentpdf.com\/blog\/wp-content\/uploads\/2008\/09\/cpdf4-300x238.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>There&#8217;s a lot more work to be done on speed and functionality, but I&#8217;m hoping to have it out by the end of November. A new release of <a href=\"http:\/\/www.coherentpdf.com\/ocaml-libraries.html\">CamlPDF<\/a> which cross-compiles with F# will be released shortly after. There&#8217;s a lot of new stuff in CamlPDF too, especially text support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been turning our cpdf PDF command line tools into a .NET DLL by cross-compiling it with F#. Here are a couple of screenshots of editing code using the library in C#. And here are a couple of screenshots of &hellip; <a href=\"https:\/\/coherentpdf.com\/blog\/?p=15\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ocaml"],"_links":{"self":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15"}],"version-history":[{"count":0,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}