Represents a picture in a drawing within a worksheet.
Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms
SyntaxC#
Copy Code
|
|---|
public class Picture : InteractiveObject |
Visual Basic
Copy Code
|
|---|
Public Class Picture |
RemarksObjects of this class cannot be instantiated directly. To create and add a picture to a Worksheet, call the AddPicture method of the worksheet's Drawing.
ExampleThe following example demonstrates how to add a picture to an existing worksheet:
C#
Copy Code
|
|---|
worksheet.Drawing.AddPicture("picture.png"); |
Visual Basic
Copy Code
|
|---|
worksheet.Drawing.AddPicture("picture.png") |
Inheritance HierarchySystem.Object![]()
MindFusion.Spreadsheet.InteractiveObject
MindFusion.Spreadsheet.Picture
See Also