DicomObjects.NET10 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 SkiaSharp.SKSize
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As SkiaSharp.SKSize
     
    instance.PixelSize = value
     
    value = instance.PixelSize
    public SkiaSharp.SKSize PixelSize {get; set;}
    public:
    property SkiaSharp.SKSize PixelSize {
       SkiaSharp.SKSize get();
       void set (    SkiaSharp.SKSize 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: 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