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


In This Topic
    FillStyle Property (NImageFrameStyle)
    In This Topic
    The fill effect applied on the frame.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Appearance")>
    <System.ComponentModel.DescriptionAttribute("The fill effect applied on the frame.")>
    Public Property FillStyle As NFillStyle
    'Usage
     
    
    Dim instance As NImageFrameStyle
    Dim value As NFillStyle
     
    instance.FillStyle = value
     
    value = instance.FillStyle
    [System.ComponentModel.Category("Appearance")]
    [System.ComponentModel.Description("The fill effect applied on the frame.")]
    public NFillStyle FillStyle {get; set;}
    Remarks
    Gives you access to the NFillEffect object controlling the fill effect applied on the frame.
    Example
    The following code applies a gradient on the frame:
    Dim imageFrame As NImageFrame =  NChartControl.Background.ImageFrame 
    imageFrame.FillEffect.SetPredefinedAdvancedGradient(AdvancedGradientScheme.Ocean2, 11)
    NImageFrame imageFrame = NChartControl.Background.ImageFrame;
    imageFrame.FillEffect.SetPredefinedAdvancedGradient(AdvancedGradientScheme.Ocean2, 11);
    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