←Select platform

AddImage(RasterImage,LeadRect) Method

Summary

Adds an image to the sheet, positioning it within specified display bounds. This method allows for embedding images directly into an Excel sheet, with the image's location and size determined by the LeadRect parameter.

Syntax

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

Parameters

image

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

displayBounds

A LeadRect structure specifying the bounds for the image within the sheet.

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.