Picture class

Office 2013 and later

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

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

public class Picture : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

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.

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