←Select platform

SetDataPointer Method

Summary
Sets the data pointer.
Syntax
C#
VB
Objective-C
C++
public void SetDataPointer( 
   IntPtr data, 
   int size 
) 
Public Sub SetDataPointer( _ 
   ByVal data As IntPtr, _ 
   ByVal size As Integer _ 
)  
- (void)setDataPointer:(void *)data size:(NSUInteger)size 
public: 
void SetDataPointer(  
   IntPtr data, 
   int size 
)  

Parameters

data
The data pointer.

size
The size of the data pointer.

Remarks

To calculate the correct size for a single row of image data: Windows (((Width * BitsPerPixel) + 31) >> 3)) &~3 iOS / macOS (((Width * BitsPerPixel) + 7) / 8)

Requirements

Target Platforms

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

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