DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImageFusion Class / TranslatePixels Method
The movement to apply, measured in output pixels
The displaysize of the whole image as currently displayed






In This Topic
    TranslatePixels Method (DicomImageFusion)
    In This Topic
    Move the display Offset pixels based on output size
    Syntax
    'Declaration
     
    
    Public Sub TranslatePixels( _
       ByVal Offset As System.Drawing.SizeF, _
       ByVal Size As System.Drawing.Size _
    ) 
    'Usage
     
    
    Dim instance As DicomImageFusion
    Dim Offset As System.Drawing.SizeF
    Dim Size As System.Drawing.Size
     
    instance.TranslatePixels(Offset, Size)
    public void TranslatePixels( 
       System.Drawing.SizeF Offset,
       System.Drawing.Size Size
    )
    public procedure TranslatePixels( 
        Offset: System.Drawing.SizeF;
        Size: System.Drawing.Size
    ); 
    public function TranslatePixels( 
       Offset : System.Drawing.SizeF,
       Size : System.Drawing.Size
    );
    public: void TranslatePixels( 
       System.Drawing.SizeF Offset,
       System.Drawing.Size Size
    ) 
    public:
    void TranslatePixels( 
       System.Drawing.SizeF Offset,
       System.Drawing.Size Size
    ) 

    Parameters

    Offset
    The movement to apply, measured in output pixels
    Size
    The displaysize of the whole image as currently displayed
    Remarks
    For a DicomImageFusion object, this passes the transformation on to all images in the collection which support IProjection
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also