DicomObjects Reference
DicomObjects Reference / DicomImage Object / Refresh Method
Set to true if the underlying pixel data has changed
Refresh Method
Description
Refresh an image, optionally invalidating the pixel cache
Syntax
Visual Basic
Public Sub Refresh( _
   ByVal PixelsChanged As Boolean _
) 
Parameters
PixelsChanged
Set to true if the underlying pixel data has changed
Remarks

This method is used mainly in the following circumstances:

  • After altering or adding DicomLabel items in either the control’s or any image’s Labels collection.
  • When a defined series of images must be drawn, such as when modifying the Frame property to generate a non-standard cine sequence
  • After changing an image’s PresentationState

These methods should not need to be called under other circumstances, as all other changes which would cause the display to alter should automatically cause a re-draw, but is available in case of problems.

See Also