SketchOptions Class
Defines the SketchOptions Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is c14:sketchOptions.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Drawing.Charts.SketchOptions
Namespace: DocumentFormat.OpenXml.Office2010.Drawing.Charts
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ShowSketchButton), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(InSketchMode), FileFormatVersions.Office2010)> _
Public Class SketchOptions _
Inherits OpenXmlCompositeElement
用法
Dim instance As SketchOptions
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ShowSketchButton), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(InSketchMode), FileFormatVersions.Office2010)]
public class SketchOptions : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
InSketchMode <c14:inSketchMode>
ShowSketchButton <c14:showSketchBtn>
2.3.27 sketchOptions
Target namespace: https://schemas.microsoft.com/office/drawing/2007/8/2/chart
A CT_SketchOptions element that specifies draft mode properties for the chart ([ISO/IEC-29500-1] section 21.2).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="sketchOptions" type="CT_SketchOptions"/>
See section 5.11 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.69 CT_SketchOptions
Target namespace: https://schemas.microsoft.com/office/drawing/2007/8/2/chart
Referenced by: sketchOptions
A complex type that specifies draft mode properties for the chart ([ISO/IEC-29500-1] section 21.2).
Child Elements:
inSketchMode : A CT_BooleanFalse element that specifies whether the chart ([ISO/IEC-29500-1] section 21.2) is rendered in draft mode.
showSketchBtn : A CT_BooleanTrue element that specifies whether a control to enable and disable draft mode is displayed on the chart ([ISO/IEC-29500-1] section 21.2).
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_SketchOptions">
<xsd:sequence>
<xsd:element name="inSketchMode" type="CT_BooleanFalse" minOccurs="0" maxOccurs="1"/>
<xsd:element name="showSketchBtn" type="CT_BooleanTrue" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
See section 5.11 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.