←Select platform

RasterImageAllocateCallback Delegate

Summary
Callback to use when new RasterImage objects are created by LEADTOOLS.
Syntax
C#
VB
C++
public delegate RasterExceptionCode RasterImageAllocateCallback( 
   RasterImageAllocateData data 
) 
Public Delegate Function RasterImageAllocateCallback( _ 
   ByVal data As RasterImageAllocateData _ 
) As RasterExceptionCode 
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.

Remarks

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

Example

For an example, refer to RasterDefaults.SetRasterImageAllocateCallback.

Requirements

Target Platforms

See Also

Reference

RasterImageAllocateCallback Members

Leadtools Namespace

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.