- index
- The zero-based index of the overlay being affected.
- overlayImage
- Image which will be used to update the overlay data. Cannot be null.
Visual Basic (Declaration) | |
---|---|
Public Sub SetOverlayImage( _ ByVal index As Integer, _ ByVal overlayImage As RasterImage _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void SetOverlayImage( int index, RasterImage overlayImage ) |
C++/CLI | |
---|---|
public: void SetOverlayImage( int index, RasterImage overlayImage ) |
Parameters
- index
- The zero-based index of the overlay being affected.
- overlayImage
- Image which will be used to update the overlay data. Cannot be null.
For an example, refer to OverlayCount.
This method will update the stream of bytes under the "Overlay Data" (60xx, 3000)
element with the data in the passed image.
This method will fail if the image width does not match the "Overlay Columns" (60xx, 0011) or if the image height does not match the "Overlay Rows" (60xx, 0011) for the overlay being updated.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family