Skip to content

Latest commit

 

History

History

Transparency

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Using semi-transparent colors in C# and VB.NET

This sample shows how to use Docotic.Pdf library to draw on a PDF canvas using semi-transparent colors.

Description

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).

See also