Export (0) Print
Expand All

PictureBox Class (2007 System)

Represents a Windows Forms PictureBox that can be added to a Microsoft Office Excel worksheet.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class PictureBox : PictureBox, ISupportInitializeExtendedControl

The Microsoft.Office.Tools.Excel.Controls.PictureBox is different from a System.Windows.Forms.PictureBox. The Microsoft.Office.Tools.Excel.Controls.PictureBox has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.

Do not use the New constructor to create a new PictureBox. Use the AddPictureBox method to add a new PictureBox to a worksheet.

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.PictureBox
          Microsoft.Office.Tools.Excel.Controls.PictureBox

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft