TranslatePixels Method (DicomImage3D)
In This Topic
Move the display pixels based on output size
Syntax
'Declaration
Public Sub TranslatePixels( _
ByVal As System.Drawing.SizeF, _
ByVal As System.Drawing.Size _
)
'Usage
Dim instance As DicomImage3D
Dim Offset As System.Drawing.SizeF
Dim Size As System.Drawing.Size
instance.TranslatePixels(Offset, Size)
public void TranslatePixels(
System.Drawing.SizeF ,
System.Drawing.Size
)
public procedure TranslatePixels(
: System.Drawing.SizeF;
: System.Drawing.Size
);
public function TranslatePixels(
: System.Drawing.SizeF,
: System.Drawing.Size
);
public: void TranslatePixels(
System.Drawing.SizeF ,
System.Drawing.Size
)
public:
void TranslatePixels(
System.Drawing.SizeF ,
System.Drawing.Size
)
Parameters
- Offset
- The movement to apply, measured in output pixels
- Size
- The displaysize of the whole image as currently displayed
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also