SdtContentPicture Class
Picture Structured Document Tag.When the object is serialized out as xml, its qualified name is w:picture.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.EmptyType
DocumentFormat.OpenXml.Wordprocessing.SdtContentPicture
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Class SdtContentPicture _
Inherits EmptyType
用法
Dim instance As SdtContentPicture
public class SdtContentPicture : EmptyType
Remarks
[ISO/IEC 29500-1 第 1 个版本]
17.5.2.24 picture (Picture Structured Document Tag)
This element specifies that the parent structured document tag shall be a picture when displayed in the document.
This setting specifies that the behavior for this structured document tag shall be as follows:
- The contents shall always be restricted to a single picture using the DrawingML (§20.1) syntax
As well, the structured document tag shall satisfy the following restraints or the document shall be considered non-conformant:
The contents shall only be a single picture using the DrawingML (§20.1) syntax
The contents shall not contain more than a single paragraph or table cell and shall not contain a table row or table
[Example: Consider the following structured document tag:
<w:sdt>
<w:sdtPr>
…
<w:picture/>
</w:sdtPr>
…
</w:sdt>
The text element in this structured document tag's properties specify that the type of structured document tag is a picture. end example]
Parent Elements |
---|
sdtPr (§17.5.2.38) |
[Note: The W3C XML Schema definition of this element's content model (CT_Empty) is located in §A.1. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
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.