VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / ImageLoading Event



In This Topic
    ImageLoading Event (WpfImageViewer)
    In This Topic
    Occurs when the image is loading. Information about the image (width, height, ...) is accessible after this event.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Occurs when the image is loading.")>
    <CategoryAttribute("VintaSoft")>
    Public Event ImageLoading As EventHandler(Of ImageLoadingEventArgs)
    [Description("Occurs when the image is loading.")]
    [Category("VintaSoft")]
    public event EventHandler<ImageLoadingEventArgs> ImageLoading
    [Description("Occurs when the image is loading.")]
    [Category("VintaSoft")]
    public: __event EventHandler<ImageLoadingEventArgs*>* ImageLoading
    [Description("Occurs when the image is loading.")]
    [Category("VintaSoft")]
    public:
    event EventHandler<ImageLoadingEventArgs^>^ ImageLoading
    Event Data

    The event handler receives an argument of type ImageLoadingEventArgs containing data related to this event. The following ImageLoadingEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value indicating whether current loading process should be canceled.  
    Gets or sets the decoding settings which must be used for loading of image.  
    Gets the VintasoftImage object. (Inherited from Vintasoft.Imaging.ImageEventArgs)
    Gets or sets the rendering settings which must be used for loading of image.  
    Remarks
    This event is thread safe.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also