Leadtools Namespace > RasterRegion Class : SetData Method |
'Usage Dim instance As RasterRegion Dim data() As Byte instance.SetData(data)
function Leadtools.RasterRegion.SetData( data )
public: void SetData( array<byte>^ data )
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.
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