Leadtools.PdfCompressor Namespace > PdfCompressorEngine Class : SegmentImage Event |
public event EventHandler<PdfCompressorSegmentImageEventArgs> SegmentImage
'Declaration Public Event SegmentImage As EventHandler(Of PdfCompressorSegmentImageEventArgs)
'Usage Dim instance As PdfCompressorEngine Dim handler As EventHandler(Of PdfCompressorSegmentImageEventArgs) AddHandler instance.SegmentImage, handler
public event EventHandler<PdfCompressorSegmentImageEventArgs> SegmentImage
add_SegmentImage(function(sender, e)) remove_SegmentImage(function(sender, e))
public: event EventHandler<PdfCompressorSegmentImageEventArgs^>^ SegmentImage
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.
Property | Description |
---|---|
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. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2