←Select platform

SetDataPointer Method

Summary
Sets the data pointer.
Syntax
C#
Objective-C
C++/CLI
Python
public void SetDataPointer( 
   IntPtr data, 
   int size 
) 
- (void)setDataPointer:(void *)data size:(NSUInteger)size; 
public: 
void SetDataPointer(  
   IntPtr data, 
   int size 
)  
def SetDataPointer(self,data,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 23.0.2024.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly

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