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






In This Topic
    PixelSize Property
    In This Topic
    The actual size of pixels on the display device (in mm)
    Syntax
    'Declaration
     
    
    Public Property PixelSize As System.Drawing.SizeF
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Drawing.SizeF
     
    instance.PixelSize = value
     
    value = instance.PixelSize
    public System.Drawing.SizeF PixelSize {get; set;}
    public read-write property PixelSize: System.Drawing.SizeF; 
    public function get,set PixelSize : System.Drawing.SizeF
    public: __property System.Drawing.SizeF get_PixelSize();
    public: __property void set_PixelSize( 
       System.Drawing.SizeF value
    );
    public:
    property System.Drawing.SizeF PixelSize {
       System.Drawing.SizeF get();
       void set (    System.Drawing.SizeF value);
    }
    Remarks

    The absolute values of this property is only used when the image has an attached DICOM greyscale presentation state, which specifies �ACTUAL SIZE� for the scaling mode, but their ratio is used in all display modes to allow anisotropic pixels to be corrected.

    The default value is (0.3, 0.3) mm.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also