Leadtools.Pdf Requires PDF Plug-in license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Insert(RasterImage) Method
See Also 
Leadtools.Pdf Namespace > PdfCompressor Class > Insert Method : Insert(RasterImage) Method




image
Image to be inserted in the PDF file.
Compresses the specified image, without segmenting it, and inserts the image in the PDF file.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Insert( _
   ByVal image As RasterImage _
) 
Visual Basic (Usage)Copy Code
Dim instance As PdfCompressor
Dim image As RasterImage
 
instance.Insert(image)
C# 
public void Insert( 
   RasterImage image
)
Managed Extensions for C++ 
public: void Insert( 
   RasterImage image
) 
C++/CLI 
public:
void Insert( 
   RasterImage image
) 

Parameters

image
Image to be inserted in the PDF file.

Example

Refer to PdfCompressor example.

Remarks

This method will not use MRC segmentation for the inserted image in Pdf file. If SetCompression method is set, segments will be compressd according to compression types set by it.
For more information, refer to Creating a Compressed PDF File.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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