Je veux désactiver la sélection, tout comme une image, même si elle contient du texte.NReco PdfGenerator désactiver la sélection
Je sais PDF contiennent des calques, mais je ne trouve pas où supprimer le calque de texte.
Merci.
var htmlToPdf = new NReco.PdfGenerator.HtmlToPdfConverter();
htmlToPdf.Size = NReco.PdfGenerator.PageSize.Letter;
htmlToPdf.Margins = new NReco.PdfGenerator.PageMargins()
{
Bottom = 0,
Top = 0,
Left = 0,
Right = 0
};
string ID = "Test";
Response.ContentType = "application/pdf";
Response.AppendHeader("content-disposition", string.Format("inline;FileName=\"{0}.pdf\"", ID));
htmlToPdf.GeneratePdfFromFile("Page.aspx", null, Response.OutputStream);
Response.End();