Xceed Words for .NET v5.1 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / Pen Class
Members


In This Topic
    Pen Class
    In This Topic
    Encapsulates a SkiaSharp.SKPaint in .NET5+ or a System.Drawing.Pen in .NET Framework.
    Syntax
    'Declaration
     
    Public Class Pen 
    'Usage
     
    Dim instance As Pen
    public class Pen 
    Inheritance Hierarchy

    System.Object
       Xceed.Drawing.Pen

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Creates a Pen object from specific values.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the Pen's Color.  
    Public PropertyGets the dash's offset.  
    Public PropertyGets or sets the pattern that will be used for the dash that will be drawn by the Pen.  
    Public PropertyGets or sets the Pen's DashStyle.  
    Public PropertyGets the Pen object's miter limit.  
    Public PropertyGets or sets the Pen object's width.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns the type of cap that will be used by the Pen object.  
    Public MethodReturns the type of line join that will be used by the Pen object.  
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows 11, 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