'Declaration
Public Function CurrentPixelScale( _ ByVal DisplaySize As System.Drawing.Size _ ) As System.Drawing.SizeF
'Usage
Dim instance As DicomImage3D Dim DisplaySize As System.Drawing.Size Dim value As System.Drawing.SizeF value = instance.CurrentPixelScale(DisplaySize)
public System.Drawing.SizeF CurrentPixelScale( System.Drawing.Size DisplaySize )
public function CurrentPixelScale( DisplaySize: System.Drawing.Size ): System.Drawing.SizeF;
public function CurrentPixelScale( DisplaySize : System.Drawing.Size ) : System.Drawing.SizeF;
public: System.Drawing.SizeF CurrentPixelScale( System.Drawing.Size DisplaySize )
public: System.Drawing.SizeF CurrentPixelScale( System.Drawing.Size DisplaySize )
Parameters
- DisplaySize
- Size of current display area
Return Value
Size per pixel in mm (X and Y may differ)