LEADTOOLS PDF Segmentation (Leadtools.Pdf assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SegmentImage Event
See Also 
Leadtools.Pdf Namespace > PdfCompressor Class : SegmentImage Event



Optional delegate method for additional processing.

Syntax

Visual Basic (Declaration) 
Public Event SegmentImage As EventHandler(Of PdfCompressorSegmentImageEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As PdfCompressor
Dim handler As EventHandler(Of PdfCompressorSegmentImageEventArgs)
 
AddHandler instance.SegmentImage, handler
C++/CLI 
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.

Example

Refer to PdfCompressor example

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Pdf requires a PDF Plug-in license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features