WordprocessingCanvas class

Office 2013 and later

Defines the WordprocessingCanvas Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is wpc:wpc.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.DrawingCanvas.WordprocessingCanvas

Namespace:  DocumentFormat.OpenXml.Office2010.Word.DrawingCanvas
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.3.31 wpc

Target namespace: http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas

A CT_WordprocessingCanvas element that specifies a drawing canvas in WordprocessingML. See section 2.2.7 for more details about how this element is integrated with [ISO/IEC-29500-1].

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="wpc" type="CT_WordprocessingCanvas"/>

See section 5.5 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.79 CT_WordprocessingCanvas

Target namespace: http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas

Referenced by: wpc

This type defines a drawing canvas in a WordprocessingML document.

Child Elements:

bg: A CT_BackgroundFormatting element ([ISO/IEC-29500-1] section A.4.1) that specifies formatting applied to the background of a drawing canvas.

whole: A CT_WholeE2oFormatting element ([ISO/IEC-29500-1] section A.4.1) that specifies line formatting properties applied to a drawing canvas and any reflection effect applied to a drawing canvas that includes reflection of the objects in the drawing canvas.

wps:wsp: A CT_WordprocessingShape element that specifies a shape in a drawing canvas.

pic:pic: A CT_Picture element ([ISO/IEC-29500-1] section A.4.2) that specifies a picture in a drawing canvas.

w14:contentPart: A CT_WordContentPart element that specifies a graphical object represented by arbitrary XML stored in a referenced part.

wpg:wgp: A CT_WordprocessingGroup element that specifies a groups of graphical objects.

graphicFrame: A CT_GraphicFrame element that specifies a graphical object that is a child of the current CT_WordprocessingCanvas.<143>

extLst: A CT_OfficeArtExtensionList element ([ISO/IEC-29500-1] section A.4.1) to hold future extensions to the parent element of this extLst element.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_WordprocessingCanvas">

<xsd:sequence minOccurs="1" maxOccurs="1">

<xsd:element name="bg" type="a:CT_BackgroundFormatting" minOccurs="0" maxOccurs="1"/>

<xsd:element name="whole" type="a:CT_WholeE2oFormatting" minOccurs="0" maxOccurs="1"/>

<xsd:choice minOccurs="0" maxOccurs="unbounded">

<xsd:element ref="wps:wsp"/>

<xsd:element ref="pic:pic"/>

<xsd:element ref="w14:contentPart"/>

<xsd:element ref="wpg:wgp"/>

<xsd:element name="graphicFrame" type="wpg:CT_GraphicFrame"/>

</xsd:choice>

<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

See section 5.5 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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: