LEADTOOLS PDF Segmentation (Leadtools.PdfCompressor assembly)
LEAD Technologies, Inc

SegmentImage Event






Optional delegate method for additional processing.
Syntax
'Declaration
 
Public Event SegmentImage As EventHandler(Of PdfCompressorSegmentImageEventArgs)
'Usage
 
Dim instance As PdfCompressorEngine
Dim handler As EventHandler(Of PdfCompressorSegmentImageEventArgs)
 
AddHandler instance.SegmentImage, handler
add_SegmentImage(function(sender, e))
remove_SegmentImage(function(sender, e))

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: 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

See Also

Reference

PdfCompressorEngine Class
PdfCompressorEngine Members
PdfCompressorSegmentImageEventArgs Class

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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