DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Blt Method
Image to copy pixel data from
Offset of this(base) image
Offset of the source image
Size of the pixel data in destination image
Alpha value for the source image when combined with this image. Valid values are ranging from 0 - 1, by default full opacity (1) is set






In This Topic
    Blt Method
    In This Topic
    Combine pixel data of source image into this image as a base image
    Syntax
    'Declaration
     
    
    Public Function Blt( _
       ByVal sourceImage As DicomImage, _
       ByVal baseAreaOffset As System.Drawing.Point, _
       ByVal bltAreaOffset As System.Drawing.Point, _
       ByVal outputSize As System.Drawing.Size, _
       Optional ByVal opacity As System.Single _
    ) As DicomImage
    'Usage
     
    
    Dim instance As DicomImage
    Dim sourceImage As DicomImage
    Dim baseAreaOffset As System.Drawing.Point
    Dim bltAreaOffset As System.Drawing.Point
    Dim outputSize As System.Drawing.Size
    Dim opacity As System.Single
    Dim value As DicomImage
     
    value = instance.Blt(sourceImage, baseAreaOffset, bltAreaOffset, outputSize, opacity)
    public DicomImage Blt( 
       DicomImage sourceImage,
       System.Drawing.Point baseAreaOffset,
       System.Drawing.Point bltAreaOffset,
       System.Drawing.Size outputSize,
       System.float opacity
    )
    public function Blt( 
        sourceImage: DicomImage;
        baseAreaOffset: System.Drawing.Point;
        bltAreaOffset: System.Drawing.Point;
        outputSize: System.Drawing.Size;
        opacity: System.Single
    ): DicomImage; 
    public function Blt( 
       sourceImage : DicomImage,
       baseAreaOffset : System.Drawing.Point,
       bltAreaOffset : System.Drawing.Point,
       outputSize : System.Drawing.Size,
       opacity : System.float
    ) : DicomImage;
    public: DicomImage* Blt( 
       DicomImage* sourceImage,
       System.Drawing.Point baseAreaOffset,
       System.Drawing.Point bltAreaOffset,
       System.Drawing.Size outputSize,
       System.float opacity
    ) 
    public:
    DicomImage^ Blt( 
       DicomImage^ sourceImage,
       System.Drawing.Point baseAreaOffset,
       System.Drawing.Point bltAreaOffset,
       System.Drawing.Size outputSize,
       System.float opacity
    ) 

    Parameters

    sourceImage
    Image to copy pixel data from
    baseAreaOffset
    Offset of this(base) image
    bltAreaOffset
    Offset of the source image
    outputSize
    Size of the pixel data in destination image
    opacity
    Alpha value for the source image when combined with this image. Valid values are ranging from 0 - 1, by default full opacity (1) is set

    Return Value

    A copy of this image combined with the source image in user defined outputSize
    Exceptions
    ExceptionDescription
    Specific Exception for DICOM errors
    Remarks
    Source and base images' Frame and Zoom can be used to select the frames and zoom level when the images are combined
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also