使用html2canvas和JsPDF将HTML转换为pdf,并使用下面的代码生成代码,这段代码将将div的完整HTML转换为单个图像,并将在pdf中显示为单个页面。import * as jsPDF from 'jspdf'; {canvas.width, canvas.height);
pdf.save('conv
我正在尝试创建一个类似如下的Razor web助手: @Html.EditorForModel(); 但这会产生错误"CS0103: The name 'Html' does not exist in the current context"。有没有办法在web helpers中引用html helper?