Nevron .NET Vision
Nevron.Diagram Namespace / NSegmentLabel Class / NSegmentLabel Constructor / NSegmentLabel Constructor(String,Guid,SegmentIndexMode,Int32,Single,Boolean,Boolean)
text
unique unique id of the anchor node
mode in which the segment is determined
custom segment index, if segmentIndexMode is Custom
position along the segment line (in percents)
whether to use the segment orientation at the specified percent
whether downward orientation is allowed


In This Topic
    NSegmentLabel Constructor(String,Guid,SegmentIndexMode,Int32,Single,Boolean,Boolean)
    In This Topic
    Initializer constuctor
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal text As System.String, _
       ByVal anchorUniqueId As System.Guid, _
       ByVal segmentIndexMode As SegmentIndexMode, _
       ByVal customSegmentIndex As System.Integer, _
       ByVal percentPosition As System.Single, _
       ByVal useSegmentOrientation As System.Boolean, _
       ByVal allowDownwardOrientation As System.Boolean _
    )
    'Usage
     
    
    Dim text As System.String
    Dim anchorUniqueId As System.Guid
    Dim segmentIndexMode As SegmentIndexMode
    Dim customSegmentIndex As System.Integer
    Dim percentPosition As System.Single
    Dim useSegmentOrientation As System.Boolean
    Dim allowDownwardOrientation As System.Boolean
     
    Dim instance As New NSegmentLabel(text, anchorUniqueId, segmentIndexMode, customSegmentIndex, percentPosition, useSegmentOrientation, allowDownwardOrientation)
    public NSegmentLabel( 
       System.string text,
       System.Guid anchorUniqueId,
       SegmentIndexMode segmentIndexMode,
       System.int customSegmentIndex,
       System.float percentPosition,
       System.bool useSegmentOrientation,
       System.bool allowDownwardOrientation
    )

    Parameters

    text
    text
    anchorUniqueId
    unique unique id of the anchor node
    segmentIndexMode
    mode in which the segment is determined
    customSegmentIndex
    custom segment index, if segmentIndexMode is Custom
    percentPosition
    position along the segment line (in percents)
    useSegmentOrientation
    whether to use the segment orientation at the specified percent
    allowDownwardOrientation
    whether downward orientation is allowed
    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