←Select platform

SetData Method

Summary

Overrides the data of this RasterRegion from an array of Byte.

Syntax

C#
VB
Java
WinRT C#
C++
public void SetData( 
   byte[] data 
) 
Public Sub SetData( _ 
   ByVal data() As Byte _ 
)  
public void SetData(  
   byte[] data 
) 
public void setData(byte[] data) 
 function Leadtools.RasterRegion.SetData(  
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly