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






In This Topic
    TranslatePixels Method (IProjection)
    In This Topic
    Move the display Offset pixels based on output size
    Syntax
    'Declaration
     
    
    Sub TranslatePixels( _
       ByVal Offset As System.Drawing.SizeF, _
       ByVal Size As System.Drawing.Size _
    ) 
    'Usage
     
    
    Dim instance As IProjection
    Dim Offset As System.Drawing.SizeF
    Dim Size As System.Drawing.Size
     
    instance.TranslatePixels(Offset, Size)
    void TranslatePixels( 
       System.Drawing.SizeF Offset,
       System.Drawing.Size Size
    )
    procedure TranslatePixels( 
        Offset: System.Drawing.SizeF;
        Size: System.Drawing.Size
    ); 
    function TranslatePixels( 
       Offset : System.Drawing.SizeF,
       Size : System.Drawing.Size
    );
    void TranslatePixels( 
       System.Drawing.SizeF Offset,
       System.Drawing.Size Size
    ) 
    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
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also