LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

SetData Method (RasterRegion)






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. .NET support Silverlight support WinRT support
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
)
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterRegion Class
RasterRegion Members

 

 


Products | Support | Contact Us | Copyright Notices

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