This documentation is for the old version. Go to the latest Graphics Mill docs

PixelFormatConverter.Opacity Property

Gets/sets a value which will initialize alpha channel when converting from pixel format which does not support alpha to pixel format which does.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Property Opacity As Single
C#
public float Opacity { get; set; }

Property Value

A number in range [0, 1] specifying total opacity of the image. If 0, image is completely transparent, if 1, image is completely opaque.

Remarks

Default value is 1.

See Also

Reference