Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / LineProperties Class / CreatePreviewPen Method


In This Topic
    CreatePreviewPen Method
    In This Topic
    Creates a Pen object representing the line properties object.
    Syntax
    'Declaration
     
    Public Function CreatePreviewPen() As Pen
    'Usage
     
    Dim instance As LineProperties
    Dim value As Pen
     
    value = instance.CreatePreviewPen()
    public Pen CreatePreviewPen()

    Return Value

    If the LineProperties object cannot produce a valid Pen the function returns null. Otherwise the function returns the newly created Pen object.
    Requirements

    Target Platforms: 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