- index
- The zero-based index of the overlay for which to get the attributes.
- flags
- Flags that determine which attributes to retrieve.
Visual Basic (Declaration) | |
---|---|
Public Function GetOverlayAttributes( _ ByVal index As Integer, _ ByVal flags As RasterGetSetOverlayAttributesFlags _ ) As RasterOverlayAttributes |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImage Dim index As Integer Dim flags As RasterGetSetOverlayAttributesFlags Dim value As RasterOverlayAttributes value = instance.GetOverlayAttributes(index, flags) |
C# | |
---|---|
public RasterOverlayAttributes GetOverlayAttributes( int index, RasterGetSetOverlayAttributesFlags flags ) |
C++/CLI | |
---|---|
public: RasterOverlayAttributes^ GetOverlayAttributes( int index, RasterGetSetOverlayAttributesFlags flags ) |
Parameters
- index
- The zero-based index of the overlay for which to get the attributes.
- flags
- Flags that determine which attributes to retrieve.
Return Value
An RasterOverlayAttributes object filled with the attribute data requested or null ( Nothing in Visual Basic) if the image does not have an overlay attribute at the specific index.For an example, refer to UpdateOverlayAttributes example.
The retrieved values will be stored in attributes. Only the members retrieved by the method will be updated. The other values are left unchanged.
For more information, refer to Overlay Overview.
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