Optional URL to the background of this item.
public System.Uri BackImageUrl { get; set; }
Public Property BackImageUrl() As System.Uri
Get
Set
public:
property System::Uri^ BackImageUrl
{
System::Uri^ get()
void set(System::Uri^ value)
}
The URL to the optional background image of this item. Default value is null.
The action taken when setting this value depends on whether the item is already a member of a viewer (it has been added to Items). If the item is not part of a viewer, then the value of BackImageUrl will be set with the new value and the actions described below will not occur till the item is added to a viewer.
When setting the value of this property (or adding an item to the viewer's Items), the viewer will do the following:
If the new value is null, then any previous image data is deleted. This done by setting the value of BackImage to null.
If the new value is not null, then the following happens:
The RasterCodecs object stored in RasterCodecsInstance is used to load the URL with RasterCodecs.LoadSvgAsync. The load is performed asynchronously and control is returned back to the user right away. The value of BackImageUrl is not changed and will still hold the old value.
When the loading finishes (LoadAsyncCompleted occurs), The BackImageUrl property will be updated with the original value passed. Previous data in BackImage will be deleted and replaced with the image object. When this is done, ItemChanged will occur with information on the item and Reason set to ImageViewerItemChangedReason.BackImageUrl. If an error occurs during load, ItemError will fire with information about the error. BackImageUrl and BackImage will not be updated and will still hold the original data.
in essence, setting the value of BackImageUrl to null will clear the background image data right away.
Setting the value of BackImageUrl to another value will return control immediately without changing the background image in the item, when loading is finished, the values are updated (including BackImageUrl itself) and ItemChanged will occur.
If an error occur, the item is not changed and ItemError will occur.
BackImageUrl property of ImageViewer will update this member if this is the active item when the viewer is used in single item mode.
For more information, refer to Image Viewer Items.
Products |
Support |
Feedback: BackImageUrl Property (ImageViewerItem) - Leadtools.Controls |
Introduction |
Help Version 19.0.2017.6.20
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.