Leadtools.Dicom.Common

LoadXmlBeforeElementCallback Delegate

Show in webframe





An instance of the LoadXmlBeforeElementData class containing the progress callback data.
Optional delegate method that is used with the LoadXml methods.
Syntax
public delegate bool LoadXmlBeforeElementCallback( 
   LoadXmlBeforeElementData data
)
'Declaration
 
Public Delegate Function LoadXmlBeforeElementCallback( _
   ByVal data As LoadXmlBeforeElementData _
) As Boolean
'Usage
 
Dim instance As New LoadXmlBeforeElementCallback(AddressOf HandlerMethod)

            

            
public delegate bool LoadXmlBeforeElementCallback( 
   LoadXmlBeforeElementData^ data
)

Parameters

data
An instance of the LoadXmlBeforeElementData class containing the progress callback data.

Return Value

return true to include this DICOM element in the DicomDataSet; return false to exclude the element from the DicomDataSet
Remarks
This delegate is called once for each DICOM element, before it is added to the DicomDataSet. If you pass this delegate with the LoadXml(DicomDataSet,String,DicomDataSetLoadXmlFlags,LoadXmlBeforeElementCallback,LoadXmlAfterElementCallback) methods, you must fill in certain fields of the data For details, see the documentation for LoadXmlBeforeElementData
Example
For an example, refer to SaveXmlCallback.
Requirements

Target Platforms

See Also

Reference

LoadXmlBeforeElementCallback Members
Leadtools.Dicom.Common.Extensions Namespace
LoadXml(DicomDataSet,String,DicomDataSetLoadXmlFlags,LoadXmlBeforeElementCallback,LoadXmlAfterElementCallback) Method
LoadXml(DicomDataSet,Stream,DicomDataSetLoadXmlFlags,LoadXmlBeforeElementCallback,LoadXmlAfterElementCallback) Method
LoadXml(DicomDataSet,String,DicomDataSetLoadXmlFlags) Method
LoadXml(DicomDataSet,Stream,DicomDataSetLoadXmlFlags) Method
SaveXml(DicomDataSet,String,DicomDataSetSaveXmlFlags,SaveXmlCallback) Method
SaveXml(DicomDataSet,Stream,DicomDataSetSaveXmlFlags,SaveXmlCallback) Method
SaveXml(DicomDataSet,String,DicomDataSetSaveXmlFlags) Method
SaveXml(DicomDataSet,Stream,DicomDataSetSaveXmlFlags) Method
SaveXmlCallback Delegate
LoadXmlBeforeElementCallback Delegate
LoadXmlAfterElementCallback Delegate

 

 


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

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