Share via


IsCanvas Class

Defines the IsCanvas Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is a14:isCanvas.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Drawing.IsCanvas

Namespace:  DocumentFormat.OpenXml.Office2010.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class IsCanvas _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As IsCanvas
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class IsCanvas : OpenXmlLeafElement

Remarks

2.3.23 isCanvas

Target namespace: https://schemas.microsoft.com/office/drawing/2007/7/7/main

Element of type: CT_IsGvmlCanvas

An extension list child element of: [ISO/IEC-29500-1] section ยง20.1.2.2.20 grpSp (Group shape)

(see [ISO/IEC-29500-1] section 10.1.2 Office Open XML Native Extensibility Constructs)

Extension list Uri attribute: {42C33886-CC25-47f2-ACA8-312CCD89CECE}

The val attribute of this element MUST be set to true if the containing grpSp is a GVML representation of a drawing canvas from a word processing application.

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

<xsd:element name="isCanvas" type="CT_IsGvmlCanvas"/>

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

2.5.59 CT_IsGvmlCanvas

Target namespace: https://schemas.microsoft.com/office/drawing/2007/7/7/main

Referenced by: isCanvas

Defines a property with a boolean value. The property determines whether the container of an instance of this complex type is a GVML representation of a drawing canvas used in a word processing application*.*

Attributes:

val : A boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the container instance of the complex type having this attribute is a GVML representation of a drawing canvas used in a word processing application*.*

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

<xsd:complexType name="CT_IsGvmlCanvas">

<xsd:attribute name="val" type="xsd:boolean" use="required"/>

</xsd:complexType>

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

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

Reference

IsCanvas Members

DocumentFormat.OpenXml.Office2010.Drawing Namespace