Version

StrokeOpacity Property (PaintElement)

An opacity for the rendering pen.
Syntax
'Declaration
 
Public Property StrokeOpacity As Byte
public byte StrokeOpacity {get; set;}
Remarks

A value of 0 represents a transparent pen, whereas a value of 255 represents a completely opaque pen. Values between 0 and 255 represent varying degrees of translucency.

This property value overrides any alpha component of the color defined by Stroke.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also