LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PixelSpacing Property
See Also 
Leadtools.Medical3D Namespace > Medical3DObject Class : PixelSpacing Property



Gets or sets the distance length in millimeters between two successive pixels in both the horizontal and the vertical directions.

Syntax

Visual Basic (Declaration) 
Public Property PixelSpacing As Point2D
Visual Basic (Usage)Copy Code
Dim instance As Medical3DObject
Dim value As Point2D
 
instance.PixelSpacing = value
 
value = instance.PixelSpacing
C# 
public Point2D PixelSpacing {get; set;}
C++/CLI 
public:
property Point2D PixelSpacing {
   Point2D get();
   void set (    Point2D value);
}

Property Value

The distance between two successive pixels.

Example

For an example, refer to Medical3DContainer.Objects.

Remarks

The Pixel Spacing term in DICOM does not represent horizontal or vertical direction. It just represents row and column for a 2D image slice. Slice orientation can be any orientation in 3D space.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features