Version

PaintElementType Enumeration

Instances of PaintElement only provide brushes of their active type.
Syntax
'Declaration
 
Public Enum PaintElementType 
   Inherits System.Enum
public enum PaintElementType : System.Enum 
Members
MemberDescription
CustomBrushThe PaintElement uses a custom brush.
GradientThe PaintElement describes gradient fills.
HatchThe PaintElement describes pattern fills.
ImageThe PaintElement describes image fills.
NoneThe PaintElement is Undefined.
SolidFillThe PaintElement describes solid fills.
TextureThe PaintElement uses a texture, as specified by the Texture property. If Texture is set to CustomImage, then the FillImage is used to generate a texture.
Remarks

See the documentation for the ElementType property for more issue on how to take advantage of this in your application.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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