LegacyDrawing Class
Defines the LegacyDrawing Class.When the object is serialized out as xml, its qualified name is x:legacyDrawing.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Spreadsheet.LegacyDrawingType
DocumentFormat.OpenXml.Spreadsheet.LegacyDrawing
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class LegacyDrawing _
Inherits LegacyDrawingType
'Usage
Dim instance As LegacyDrawing
public class LegacyDrawing : LegacyDrawingType
Remarks
[ISO/IEC 29500-1 1st Edition]
10.3.1.1 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.
[Example:
<drawing r:id="rId1"/>
end example]
Parent Elements |
---|
chartsheet (Part 1, §18.3.1.12); dialogsheet (Part 1, §18.3.1.34); worksheet (Part 1, §18.3.1.99) |
Attributes |
Description |
---|---|
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, §22.8.2.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.