←Select platform

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Click or drag to resize