- data
- An array of System.Byte that represents the information that describes a RasterRegion.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterRegion Dim data() As Byte instance.SetData(data) |
C++/CLI | |
---|---|
public: void SetData( array<byte>^ data ) |
Parameters
- data
- An array of System.Byte that represents the information that describes a RasterRegion.
For an example, refer to GetData.
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 equivalant of calling MakeEmpty.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7