SdtContentPicture class

Office 2013 and later

Defines the SdtContentPicture Class. When the object is serialized out as xml, its qualified name is w:picture.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

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

[ISO/IEC 29500-1 1st Edition]

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.

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: