Leadtools Namespace > RasterRegion Class : SetData Method |
'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 )
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.