CssBoxImage
TheArtOfDev.HtmlRenderer.Core.Dom
CSS box for image element.
Наследует: CssBox
Конструкторы
CssBoxImage(CssBox, HtmlTag)
Init.
- parent
- the parent box of this box
- tag
- the html tag data of this box
Свойства
Методы
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
OnLoadImageComplete(RImage, RRect, bool)
On image load process is complete with image or without update the image box.
- image
- the image loaded or null if failed
- rectangle
- the source rectangle to draw in the image (empty - draw everything)
- async
- is the callback was called async to load image call
SetErrorBorder()
Set error image border on the image box.
Поля
_imageLoadHandler : ImageLoadHandler
handler used for image loading by source
_imageLoadingComplete : bool
is image load is finished, used to know if no image is found
_imageWord : CssRectImage
the image word of this image box