This sample shows how to use Docotic.Pdf library to draw on a PDF canvas using semi-transparent colors.
You can use semi-transparent colors for both canvas pen and brush. Use the PdfPen.Opacity and the PdfBrush.Opacity property to make current pen or brush color semi-transparent. Opacity value ranges from 0 (fully transparent) to 100 (fully opaque).