Nevron .NET Vision
Nevron.GraphicsCore Namespace / NImageFrameStyle Class / BorderStyle Property
Example


In This Topic
    BorderStyle Property (NImageFrameStyle)
    In This Topic
    Controls the border of the image frame.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Appearance")>
    <System.ComponentModel.DescriptionAttribute("Controls the border of the image frame.")>
    Public Property BorderStyle As NStrokeStyle
    'Usage
     
    
    Dim instance As NImageFrameStyle
    Dim value As NStrokeStyle
     
    instance.BorderStyle = value
     
    value = instance.BorderStyle
    [System.ComponentModel.Category("Appearance")]
    [System.ComponentModel.Description("Controls the border of the image frame.")]
    public NStrokeStyle BorderStyle {get; set;}
    Remarks
    Gives you access to the NFillEffect object controlling the fill effect applied on the frame.
    Example
    The following code disables the border of the frame:
    Dim imageFrame As NImageFrame =  NChartControl.Background.ImageFrame 
    imageFrame.Border.Width = 0
    NImageFrame imageFrame = NChartControl.Background.ImageFrame;
    imageFrame.Border.Width = 0;
    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