LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

UpdateOverlayAttributes Method






The zero-based index of the overlay for which the attributes are being set.
An RasterOverlayAttributes object containing the overlay attributes to set.
Flags that determine which attributes to set.
Updates the overlay attributes for the overlay at the specified index. .NET support Silverlight support WinRT support
Syntax
public void UpdateOverlayAttributes( 
   int index,
   RasterOverlayAttributes attributes,
   RasterGetSetOverlayAttributesFlags flags
)
'Declaration
 
Public Sub UpdateOverlayAttributes( _
   ByVal index As Integer, _
   ByVal attributes As RasterOverlayAttributes, _
   ByVal flags As RasterGetSetOverlayAttributesFlags _
) 
'Usage
 
Dim instance As RasterImage
Dim index As Integer
Dim attributes As RasterOverlayAttributes
Dim flags As RasterGetSetOverlayAttributesFlags
 
instance.UpdateOverlayAttributes(index, attributes, flags)
public void UpdateOverlayAttributes( 
   int index,
   RasterOverlayAttributes attributes,
   RasterGetSetOverlayAttributesFlags flags
)
 function Leadtools.RasterImage.UpdateOverlayAttributes( 
   index ,
   attributes ,
   flags 
)
public:
void UpdateOverlayAttributes( 
   int index,
   RasterOverlayAttributes^ attributes,
   RasterGetSetOverlayAttributesFlags flags
) 

Parameters

index
The zero-based index of the overlay for which the attributes are being set.
attributes
An RasterOverlayAttributes object containing the overlay attributes to set.
flags
Flags that determine which attributes to set.
Remarks

This method can be used to set some or all the overlay attributes. Before calling this method, initialize the attributes object members with all the attributes to be set or changed.

You do not need to initialize the object variables that you are not setting or changing. For example, if RasterGetSetOverlayAttributesFlags.Origin is not set in flags, you do not need to initialize RasterOverlayAttributes.Origin member of attributes.

There are several attributes in flags and you cannot change only one flag. If you want to change only one flag, you will first have to get all the flags and change only the flag you want. See the example for more information.

For more information, refer to Overlay Overview.

Example
For an example, refer to GetOverlayImage.
Requirements

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

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.