Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PaintCallbacks Property
See Also 
Leadtools Namespace > RasterImage Class : PaintCallbacks Property



Gets the list of RasterPaintCallbacks objects containing the custom callbacks.

Syntax

Visual Basic (Declaration)  
Public ReadOnly Property PaintCallbacks As IList(Of RasterPaintCallbacks)
Visual Basic (Usage) Copy Code
Dim instance As RasterImage
Dim value As IList(Of RasterPaintCallbacks)
 
value = instance.PaintCallbacks
C#  
public IList<RasterPaintCallbacks> PaintCallbacks {get;}
C++/CLI  
public:
property IList<RasterPaintCallbacks>^ PaintCallbacks {
   IList<RasterPaintCallbacks>^ get();
}

Return Value

A list of RasterPaintCallbacks objects containing custom callbacks.

Example

For a C++ example, refer to RasterPaintCallbacks.

Remarks

You add or remove custom callbacks using the members of the .NET Generic IList, Generic ICollection and Generic IEnumerable interfaces.

If your callbacks are using unmanaged memory, it is recommended you clear the PaintCallbacks list and dispose of your class when you dispose of the RasterImage object.

The PaintCallbacks list is always valid, even if the list is empty. So you do not need to check whether it is null or not.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also