Change the background of PDF Cells with C#

voitangintyyI

New Member
I 'm creating PDF file usind c#.So I want to add the custom colour to pdf cell.\[code\] cell = new PdfPCell(); cell.HorizontalAlignment = Element.ALIGN_CENTER; cell.Border = Rectangle.NO_BORDER; productsTableTotal.AddCell(cell);\[/code\]I can Add color like this\[code\] cell.BackgroundColor = BaseColor.GRAY;\[/code\]But I want to add this colour - rgb(192,185,192)How can I do it?
 
Back
Top