Picture Class

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

Inheritance Hierarchy


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


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


[ISO/IEC 29500-1 1st Edition] picture (Background Image)

Background sheet image.


<picture r:id="rId1"/>

end example]

Parent Elements

chartsheet (§; worksheet (§



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 (§

[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


Picture Members

DocumentFormat.OpenXml.Spreadsheet Namespace