Hello friends, how can I convert a div to an img in C # / ASP.Net?
I want to capture Google maps from an APP in C # ASP.Net
I tried with Windows Forms CopyScreen worse already published in IIS tells me Not Valid Controller
Do you have any ideas?
Hello friends, how can I convert a div to an img in C # / ASP.Net?
I want to capture Google maps from an APP in C # ASP.Net
I tried with Windows Forms CopyScreen worse already published in IIS tells me Not Valid Controller
Do you have any ideas?
Con esta libreria
<script type="text/javascript" src="Scripts/jspdf.min.js"></script>
ejemplo:
tu div
<div id="areaImprimir">
tu contenido....
</div>
la funcion:
<script type="text/javascript">
function genPDF() {
var pdf = new jsPDF('PageSize.A4, 10f, 10f, 100f, 0f');
pdf.addHTML($('#areaImprimir'),
5,
5,
function () {
pdf.save('div.pdf');
});
}
</script>