←Select platform

SetData Method

Summary
Overrides the data of this RasterRegion from an array of Byte.
Syntax
C#
VB
C++
Java
public void SetData( 
   byte[] data 
) 
Public Sub SetData( _ 
   ByVal data() As Byte _ 
)  
public void setData(byte[] data) 
public: 
void SetData(  
   array<byte>^ data 
)  

Parameters

data
An array of Byte that represents the information that describes a RasterRegion.

Remarks

You can use the GetData and SetData methods to save and load the content of a region to disk or memory.

If data is an array of 0 items or is null, then this method will make the RasterRegion object empty. This is the equivalent of calling MakeEmpty.

Example

For an example, refer to GetData.

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 Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.