LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

DicomGetImageCallback Delegate








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). .NET support WinRT support
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
)
ObjectiveC Syntax
Java Syntax
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomGetImageCallback Members
Leadtools.Dicom Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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