←Select platform

AddImage(string,LeadRect) Method

Summary

Adds an image to the sheet from a specified source, positioning it within the given display bounds.

Syntax

C#
C++/CLI
Python
public void AddImage( 
   string source, 
   LeadRect displayBounds 
) 
public:  
   void AddImage( 
      String^ source, 
      LeadRect^ displayBounds 
   ) 
def AddImage(self,source,displayBounds): 

Parameters

source

A string representing the path to the image file or a base64 string of the image. The source must not be null or empty.

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.