LEADTOOLS (Leadtools assembly)

SetData Method (RasterRegion)

Show in webframe







An array of System.Byte that represents the information that describes a RasterRegion.
Overrides the data of this RasterRegion from an array of System.Byte.
Syntax
public void SetData( 
   byte[] data
)
'Declaration
 
Public Sub SetData( _
   ByVal data() As Byte _
) 
'Usage
 
Dim instance As RasterRegion
Dim data() As Byte
 
instance.SetData(data)
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 System.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 (Nothing in Visual Basic), 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

See Also

Reference

RasterRegion Class
RasterRegion Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.