Leadtools.Forms.DocumentWriters Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Image Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > DocumentPage Structure : Image Property



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

Syntax

Visual Basic (Declaration) 
Public Property Image As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As DocumentPage
Dim value As RasterImage
 
instance.Image = value
 
value = instance.Image
C# 
public RasterImage Image {get; set;}
C++/CLI 
public:
property RasterImage Image {
   RasterImage get();
   void set (RasterImage value);
}

Return 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 Visual Basic).

Example

For an example, refer to DocumentWriter.

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:

For more information, refer to PdfDocumentOptions.

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

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features