DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / CellSpacing Property






In This Topic
    CellSpacing Property
    In This Topic
    Sets the gap between images
    Syntax
    'Declaration
     
    
    Public Property CellSpacing As System.Short
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Short
     
    instance.CellSpacing = value
     
    value = instance.CellSpacing
    public System.short CellSpacing {get; set;}
    public read-write property CellSpacing: System.Int16; 
    public function get,set CellSpacing : System.short
    public: __property System.short get_CellSpacing();
    public: __property void set_CellSpacing( 
       System.short value
    );
    public:
    property System.short CellSpacing {
       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 property, unlike EdgeBorder does not apply at the edges of the viewer

    The default value is 0.

    See also Border for another variation.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also