DicomObjects.NET.8.48 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 System.Short
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Short
     
    instance.Border = value
     
    value = instance.Border
    public System.short Border {get; set;}
    public read-write property Border: System.Int16; 
    public function get,set Border : System.short
    public: __property System.short get_Border();
    public: __property void set_Border( 
       System.short value
    );
    public:
    property System.short Border {
       System.short get();
       void set (    System.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.8 or higher

    See Also