←Select platform

GetOverlayAttributes Method

Summary

Gets one or more overlay attributes for the specified index.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
Public Function GetOverlayAttributes( _ 
   ByVal index As Integer, _ 
   ByVal flags As Leadtools.RasterGetSetOverlayAttributesFlags _ 
) As Leadtools.RasterOverlayAttributes 
- (nullable LTRasterOverlayAttributes *)getOverlayAttributesAtIndex:(NSInteger)index  
                                                              flags:(LTRasterGetSetOverlayAttributesFlags)flags  
                                                              error:(NSError **)error 
             
public RasterOverlayAttributes getOverlayAttributes( 
  int index,  
  int flags 
) 
             
 function Leadtools.RasterImage.GetOverlayAttributes(  
   index , 
   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 if the image does not have an overlay attribute at the specific index.

Remarks

Only the members specified by flags will contain valid values in returned RasterOverlayAttributes retrieved by the method will be updated. The other values are left to the defult value.

For more information, refer to Overlay Overview.

Example

For an example, refer to UpdateOverlayAttributes example.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly