Picture Class

Defines the Picture Class.When the object is serialized out as xml, its qualified name is x:picture.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.Picture

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Picture _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Picture
public class Picture : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.3.1.67 picture (Background Image)

Background sheet image.

[Example:

<picture r:id="rId1"/>

end example]

Parent Elements

chartsheet (§18.3.1.12); worksheet (§18.3.1.99)

Attributes

Description

id (Relationship Id)

Namespace: .../officeDocument/2006/relationships

Relationship Id pointing to the image part.

The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1).

[Note: The W3C XML Schema definition of this element’s content model (CT_SheetBackgroundPicture) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

Picture Members

DocumentFormat.OpenXml.Spreadsheet Namespace