Visual Basic (Declaration) | |
---|---|
Public Delegate Function RasterImageAllocateCallback( _ ByVal data As RasterImageAllocateData _ ) As RasterExceptionCode |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New RasterImageAllocateCallback(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate RasterExceptionCode RasterImageAllocateCallback( RasterImageAllocateData data ) |
C++/CLI | |
---|---|
public delegate RasterExceptionCode RasterImageAllocateCallback( RasterImageAllocateData^ data ) |
Parameters
- data
- Parameters used when creating the RasterImage object.
Return Value
RasterExceptionCode.Success to continue creating the RasterImage object, any other value will cause the toolkit to throw RasterException with code equals to this RasterExceptionCode.For an example, refer to RasterDefaults.SetRasterImageAllocateCallback.
For more information, refer to RasterDefaults.SetRasterImageAllocateCallback and RasterImageAllocateData.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7