Nevron .NET Vision
Nevron.GraphicsCore Namespace / NBackplaneStyle Class / EdgePercent Property
Example


In This Topic
    EdgePercent Property (NBackplaneStyle)
    In This Topic
    Controls the edge size of the smooth edge or cut edge rectangle.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Controls the edge size of the smooth edge or cut edge rectangle.")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    <System.ComponentModel.DefaultValueAttribute(20)>
    Public Property EdgePercent As System.Integer
    'Usage
     
    
    Dim instance As NBackplaneStyle
    Dim value As System.Integer
     
    instance.EdgePercent = value
     
    value = instance.EdgePercent
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Controls the edge size of the smooth edge or cut edge rectangle.")]
    [System.Xml.Serialization.XmlAttribute()]
    [System.ComponentModel.DefaultValue(20)]
    public System.int EdgePercent {get; set;}
    Remarks
    The Style property must be set to SmoothEdgeRectangle or SmoothEdgeRectangle. The property specifies the percentage of the edge occupied by the smooth edge of cut edge in percents of the backplane width or height depending on which one of them is smaller. The default value is 20%.
    Example
    The following code snippet modifies the backplane style and edge percent.
    Dim backplane As NBackplane =  someTextProps.Backplane 
    backplane.Style = BackplaneStyle.CutEdgeRectangle
    backplane.EdgePercent = 30
    NBackplane backplane = someTextProps.Backplane;
    backplane.Style = BackplaneStyle.CutEdgeRectangle;
    backplane.EdgePercent = 30;
    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