I want to disable selection, just like an image, even if contain text.
I know PDF contain layers, but i dont find where to remove the text layer.
Thanks.
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();