Updates the overlay attributes for the overlay at the specified index.
public void UpdateOverlayAttributes(
int index,
RasterOverlayAttributes attributes,
RasterGetSetOverlayAttributesFlags flags
)
Public Sub UpdateOverlayAttributes( _
ByVal index As Integer, _
ByVal attributes As Leadtools.RasterOverlayAttributes, _
ByVal flags As Leadtools.RasterGetSetOverlayAttributesFlags _
)
public void UpdateOverlayAttributes(
int index,
Leadtools.RasterOverlayAttributes attributes,
Leadtools.RasterGetSetOverlayAttributesFlags flags
)
- (BOOL)updateOverlayAttributes:(LTRasterOverlayAttributes *)attributes
atIndex:(NSInteger)index
flags:(LTRasterGetSetOverlayAttributesFlags)flags
error:(NSError **)error
public void updateOverlayAttributes(
int index,
RasterOverlayAttributes attributes,
int flags
)
function Leadtools.RasterImage.UpdateOverlayAttributes(
index ,
attributes ,
flags
)
public:
void UpdateOverlayAttributes(
int index,
Leadtools.RasterOverlayAttributes^ attributes,
Leadtools.RasterGetSetOverlayAttributesFlags flags
)
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.
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.
For an example, refer to GetOverlayImage.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET