LEADTOOLS Medical (Leadtools.Dicom assembly)

DicomGetImageCallback Delegate

Show in webframe







Zero based index of the image being loaded from the DicomDataSet.
Total number of images to be loaded. This is the same value passed to GetImages(DicomElement element, int index, int count, int bitsPerPixel, RasterByteOrder order, DicomGetImageFlags flags, DicomGetImageCallback callback).
Called for each image that is loaded using GetImages(DicomElement element, int index, int count, int bitsPerPixel, RasterByteOrder order, DicomGetImageFlags flags, DicomGetImageCallback callback).
Syntax
public delegate bool DicomGetImageCallback( 
   int index,
   int count
)
'Declaration
 
Public Delegate Function DicomGetImageCallback( _
   ByVal index As Integer, _
   ByVal count As Integer _
) As Boolean
'Usage
 
Dim instance As New DicomGetImageCallback(AddressOf HandlerMethod)
public delegate bool DicomGetImageCallback( 
   int index,
   int count
)

            
public interface DicomGetImageCallback 
{
  public boolean onDicomGetImageCallback(int page, int count);
}
            
DicomGetImageCallback( 
   index ,
   count 
)
public delegate bool DicomGetImageCallback( 
   int index,
   int count
)

Parameters

index
Zero based index of the image being loaded from the DicomDataSet.
count
Total number of images to be loaded. This is the same value passed to GetImages(DicomElement element, int index, int count, int bitsPerPixel, RasterByteOrder order, DicomGetImageFlags flags, DicomGetImageCallback callback).

Return Value

true to continue, false to abort the load.
Remarks

The GetImages(DicomElement element, int index, int count, int bitsPerPixel, RasterByteOrder order, DicomGetImageFlags flags, DicomGetImageCallback callback) method calls your DicomGetImageCallback for each image that is loaded.

Example
For an example, refer to GetImages(DicomElement element, int index, int count, int bitsPerPixel, RasterByteOrder order, DicomGetImageFlags flags, DicomGetImageCallback callback).
Requirements

Target Platforms

See Also

Reference

DicomGetImageCallback Members
Leadtools.Dicom Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features