DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomVolume Class / SetBorderColour Method
Top border colour
Bottom border colour
Left border colour
Right border colour






In This Topic
    SetBorderColour Method
    In This Topic
    Set volume's border colour. If not set, uses DicomViewer.BackColour
    Syntax
    'Declaration
     
    
    Public Sub SetBorderColour( _
       ByVal Top As System.Drawing.Color, _
       ByVal Bottom As System.Drawing.Color, _
       ByVal Left As System.Drawing.Color, _
       ByVal Right As System.Drawing.Color _
    ) 
    'Usage
     
    
    Dim instance As DicomVolume
    Dim Top As System.Drawing.Color
    Dim Bottom As System.Drawing.Color
    Dim Left As System.Drawing.Color
    Dim Right As System.Drawing.Color
     
    instance.SetBorderColour(Top, Bottom, Left, Right)
    public void SetBorderColour( 
       System.Drawing.Color Top,
       System.Drawing.Color Bottom,
       System.Drawing.Color Left,
       System.Drawing.Color Right
    )
    public procedure SetBorderColour( 
        Top: System.Drawing.Color;
        Bottom: System.Drawing.Color;
        Left: System.Drawing.Color;
        Right: System.Drawing.Color
    ); 
    public function SetBorderColour( 
       Top : System.Drawing.Color,
       Bottom : System.Drawing.Color,
       Left : System.Drawing.Color,
       Right : System.Drawing.Color
    );
    public: void SetBorderColour( 
       System.Drawing.Color Top,
       System.Drawing.Color Bottom,
       System.Drawing.Color Left,
       System.Drawing.Color Right
    ) 
    public:
    void SetBorderColour( 
       System.Drawing.Color Top,
       System.Drawing.Color Bottom,
       System.Drawing.Color Left,
       System.Drawing.Color Right
    ) 

    Parameters

    Top
    Top border colour
    Bottom
    Bottom border colour
    Left
    Left border colour
    Right
    Right border colour
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also