SegmentImage Event

Summary
Optional delegate method for additional processing.
Syntax
C#
VB
C++
public event EventHandler<PdfCompressorSegmentImageEventArgs> SegmentImage 
Public Event SegmentImage As EventHandler(Of PdfCompressorSegmentImageEventArgs) 
public: 
event EventHandler<PdfCompressorSegmentImageEventArgs^>^ SegmentImage 
Event Data

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

PropertyDescription
Cancel Gets or sets a value that indicates whether a segment should be added to the document.
Page Gets the index of the page on which the segment is being written.
Segment Gets information about the segment.
Remarks

For more information, refer to Creating a Compressed PDF File.

Example

Refer to PdfCompressorEngine example

Requirements

Target Platforms

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

Leadtools.PdfCompressor Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.