←Select platform

Image Property

Summary

The image used for creating a PDF document page with the image and text overlay feature.

Syntax
C#
VB
Objective-C
C++
Java
public RasterImage Image { get; set; } 
Public Property Image As RasterImage 
@property (nonatomic, strong) LTRasterImage *image 
public RasterImage getImage() 
public void setImage(RasterImage image) 
public: 
property RasterImage^ Image { 
   RasterImage^ get(); 
   void set (    RasterImage^ ); 
} 

Property Value

A RasterImage that contains the optional raster image to use to create a PDF page with the image/text overlay feature. If this feature is not used, this property must be set to null (Nothing in VB).

Remarks

The Image property is optional and is used only when the document being created is PDF with the Image and Text overlay option. To create a PDF document with image/text overlay, perform the following steps:

The AnnotationContainer property is optional and is used to create annotated document. It's only valid when the document being created is PDF. Note that saving annotated document is not supported when DocumentType is PdfDocumentType.PdfA.

For more information, refer to PdfDocumentOptions.

You are responsible for freeing this Image object after the call to AddPage or InsertPage returns. This is usually done by calling RasterImage.Dispose.

Example

For an example, refer to DocumentWriter.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly