LockedCanvas Class
Locked Canvas Container.When the object is serialized out as xml, its qualified name is lc:lockedCanvas.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.LockedCanvas.LockedCanvas
Namespace: DocumentFormat.OpenXml.Drawing.LockedCanvas
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(NonVisualGroupShapeProperties))> _
<ChildElementInfoAttribute(GetType(VisualGroupShapeProperties))> _
<ChildElementInfoAttribute(GetType(TextShape))> _
<ChildElementInfoAttribute(GetType(Shape))> _
<ChildElementInfoAttribute(GetType(ConnectionShape))> _
<ChildElementInfoAttribute(GetType(Picture))> _
<ChildElementInfoAttribute(GetType(GvmlContentPart), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(GraphicFrame))> _
<ChildElementInfoAttribute(GetType(GroupShape))> _
<ChildElementInfoAttribute(GetType(GvmlGroupShapeExtensionList))> _
Public Class LockedCanvas _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As LockedCanvas
[ChildElementInfoAttribute(typeof(NonVisualGroupShapeProperties))]
[ChildElementInfoAttribute(typeof(VisualGroupShapeProperties))]
[ChildElementInfoAttribute(typeof(TextShape))]
[ChildElementInfoAttribute(typeof(Shape))]
[ChildElementInfoAttribute(typeof(ConnectionShape))]
[ChildElementInfoAttribute(typeof(Picture))]
[ChildElementInfoAttribute(typeof(GvmlContentPart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(GraphicFrame))]
[ChildElementInfoAttribute(typeof(GroupShape))]
[ChildElementInfoAttribute(typeof(GvmlGroupShapeExtensionList))]
public class LockedCanvas : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
DocumentFormat.OpenXml.Drawing.NonVisualGroupShapeProperties <a:nvGrpSpPr>
DocumentFormat.OpenXml.Drawing.VisualGroupShapeProperties <a:grpSpPr>
DocumentFormat.OpenXml.Drawing.TextShape <a:txSp>
DocumentFormat.OpenXml.Drawing.Shape <a:sp>
DocumentFormat.OpenXml.Drawing.ConnectionShape <a:cxnSp>
DocumentFormat.OpenXml.Drawing.Picture <a:pic>
DocumentFormat.OpenXml.Office2010.Drawing.GvmlContentPart <a14:contentPart>
DocumentFormat.OpenXml.Drawing.GraphicFrame <a:graphicFrame>
DocumentFormat.OpenXml.Drawing.GroupShape <a:grpSp>
DocumentFormat.OpenXml.Drawing.GvmlGroupShapeExtensionList <a:extLst>
[ISO/IEC 29500-1 1st Edition]
20.3.2.1 lockedCanvas (Locked Canvas Container)
The locked canvas element acts as a container for more advanced drawing objects. The notion of a locked canvas comes from the fact that the generating application opening the file cannot create this object and can thus not perform edits either. Thus the drawing object is locked from all UI adjustments that would normally take place.
Child Elements |
Subclause |
---|---|
cxnSp (Connection Shape) |
§20.1.2.2.10 |
extLst (Extension List) |
§20.1.2.2.15 |
graphicFrame (Graphic Frame) |
§20.1.2.2.18 |
grpSp (Group shape) |
§20.1.2.2.20 |
grpSpPr (Visual Group Shape Properties) |
§20.1.2.2.22 |
nvGrpSpPr (Non-Visual Properties for a Group Shape) |
§20.1.2.2.27 |
pic (Picture) |
§20.1.2.2.30 |
sp (Shape) |
§20.1.2.2.33 |
txSp (Text Shape) |
§20.1.2.2.41 |
[Note: The W3C XML Schema definition of this element’s content model (CT_GvmlGroupShape) is located in §A.4.1. 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.