LegacyDrawing Class

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

Inheritance Hierarchy


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


Public Class LegacyDrawing _
    Inherits LegacyDrawingType
Dim instance As LegacyDrawing
public class LegacyDrawing : LegacyDrawingType


[ISO/IEC 29500-1 1st Edition] legacyDrawing (Legacy Drawing Reference)

This element is present when the sheet contains drawing shapes defined by VML. In this case, the element contains an explicit relationship whose ID points to the part containing the VML definitions.


<drawing r:id="rId1"/>

end example]

Parent Elements

chartsheet (Part 1, §; dialogsheet (Part 1, §; worksheet (Part 1, §



id (Relationship Id)

Namespace: .../officeDocument/2006/relationships

This value references a relationship Id for the sheet. The relationship shall point to the part containing the VML definition.

The possible values for this attribute are defined by the ST_RelationshipId simple type (Part 1, §

[Note: The W3C XML Schema definition of this element’s content model (CT_LegacyDrawing) 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


LegacyDrawing Members

DocumentFormat.OpenXml.Spreadsheet Namespace