DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomViewer Class / Border Property



In This Topic
    Border Property
    In This Topic
    Sets the gap between images
    Syntax
    'Declaration
     
    
    Public Property Border As Short
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As Short
     
    instance.Border = value
     
    value = instance.Border
    public short Border {get; set;}
    public:
    property short Border {
       short get();
       void set (    short value);
    }
    Remarks

    The area available for display in a DicomViewer is divided into a number of image �cells� according to the values of MultiRows and MultiColumns and the number of pixels specified by this property is effectively �removed� from the display area before rendering the image, giving a gap between images. This is useful if the image�s BorderWidth property is used, as it can prevent the visible highlight overlying the image itself.

    The default value is 0.

    See also Cellspacing for another variation.
    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