Table of Contents

Method MakeTransparent

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

MakeTransparent(PdfColor)

Makes the specified color transparent for this PdfImage.

public void MakeTransparent(PdfColor color)

Parameters

color PdfColor

The color to make transparent.

Remarks

This method must not be called for mask images (i.e. for images with IsMask property equal to true).

At this time, the method throws exception of PdfException type if the color specified by color is not an instance of PdfRgbColor class.

This method does nothing for images with non-RGB color spaces.