DicomObjects.NET.V8
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: .NET CLR 4.0 or higher

    See Also