←Select platform

LoadImage Event

Summary
Occurs during the JPEG 2000 file loading process to provide functionality for manually handling the output image data or monitoring the progress status.

Syntax
C#
C++/CLI
Python
public event EventHandler<CodecsLoadImageEventArgs> LoadImage 
public: 
event EventHandler<CodecsLoadImageEventArgs^>^ LoadImage 
def LoadImage(sender,e): # sender: Jpeg2000Engine e: Leadtools.Codecs.CodecsLoadImageEventArgs 
Event Data

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

PropertyDescription
Buffer
Cancel
FileName
FirstPage
Flags
Image
ImagePage
Info
LastPage
Lines
Offset
OffsetCount
OffsetValid
Page
PagePercent
Row
Stream
Tile
TileValid
TotalPercent
Remarks

This event will fire during loading images with the Load and LoadComposite methods. You can use this event to get information about the image being loaded, manually handle the image scanline data or provide a progress status as well as to abort the load operation.

Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Jpeg2000 Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.