itextsharp を使用して PDF を作成する必要があります。現在私の問題は、テーブルの境界線の幅を 0px にできないことです。テーブルまたはセルの境界線が必要ない..私のコードは
Document Doc = new Document();
//PdfWriter.GetInstance(Doc, new FileStream(Environment.GetFolderPath
//(Environment.SpecialFolder.Desktop) + "\\TTS_Bill.pdf", FileMode.Create));
PdfWriter.GetInstance(Doc, new FileStream(Server.MapPath("~/DMSDOC/DMS_doc.pdf"), FileMode.Create));
Doc.Open();
PdfPTable table = new PdfPTable(1);
table.DefaultCell.Border = PdfPCell.NO_BORDER;
table.TotalWidth = 400f;
table.LockedWidth = true;
iTextSharp.text.Image logo = iTextSharp.text.Image.GetInstance("~/img/val verde hospital.png");
logo.ScaleAbsolute(40, 40);
PdfPCell image_header = new PdfPCell(logo);
image_header.HorizontalAlignment = Element.ALIGN_CENTER;
table.AddCell(image_header)
どうすれば解決できますか、または私のコードに間違いがありますか...