←Select platform

AddImage(RasterImage,CellRange) Method

Summary

Adds an image to the sheet, spanning a specified range of cells. Allows for embedding images directly into an Excel sheet.

Syntax

C#
C++/CLI
Python
public void AddImage( 
   RasterImage image, 
   CellRange range 
) 
public:  
   void AddImage( 
      RasterImage^ image, 
      CellRange^ range 
   ) 
def AddImage(self,image,range): 

Parameters

image

A RasterImage object representing the image to be added to the sheet. The image must not be null.

range

A CellRange object specifying the range of cells over which the image will be placed. The range defines the top-left and bottom-right boundaries for the image.

Requirements

Target Platforms

See Also

SheetImages Class

SheetImages Members

Leadtools.Document.LEADOffice.Sheet Namespace

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

Leadtools.Document.LEADOffice Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.