←Select platform

SaveImage Event

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

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

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

PropertyDescription
Buffer
Cancel
FileName
FirstPage
Image
ImagePage
LastPage
Lines
Offset
OffsetValid
Page
PagePercent
Row
Stream
TotalPercent
Remarks

This event will fire during saving images with the Save and SaveComposite methods. You can use this event to get information about the image being saved, manually provide the image scanline data being saved data or provide progress status as well as to abort the save operation.

Requirements

Target Platforms

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

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