←Select platform

RasterImageAllocateCallback Delegate

Summary

Callback to use when new RasterImage objects are created by LEADTOOLS.

Syntax

C#
VB
WinRT C#
C++
public delegate RasterExceptionCode RasterImageAllocateCallback( 
   RasterImageAllocateData data 
) 
Public Delegate Function RasterImageAllocateCallback( _ 
   ByVal data As Leadtools.RasterImageAllocateData _ 
) As Leadtools.RasterExceptionCode 
public delegate Leadtools.RasterExceptionCode RasterImageAllocateCallback(  
   Leadtools.RasterImageAllocateData data 
) 
RasterImageAllocateCallback(  
   data  
) 
public delegate Leadtools.RasterExceptionCode RasterImageAllocateCallback(  
   Leadtools.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.

Remarks

For more information, refer to RasterDefaults.SetRasterImageAllocateCallback and RasterImageAllocateData.

Example

For an example, refer to RasterDefaults.SetRasterImageAllocateCallback.

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly