Picture class

Office 2013 and later

Picture. When the object is serialized out as xml, its qualified name is pic:pic.

Namespace:  DocumentFormat.OpenXml.Drawing.Pictures
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]

pic (Picture)

This element specifies the existence of a picture object within the document.

[Example: Consider the following DrawingML that specifies the existence of a picture within a document. This picture can have non-visual properties, a picture fill as well as shape properties attached to it.

<pic:pic>
  <pic:nvPicPr>
    <pic:cNvPr id="4" name="lake.JPG" descr="Picture of a Lake" />
    <pic:cNvPicPr>
      <a:picLocks noChangeAspect="1"/>
    </p
ic:cNvPicPr>
    <pic:nvPr/>
  </p
ic:nvPicPr>
  <pic:blipFill>
  …
  </p
ic:blipFill>
  <pic:spPr>
  …
  </p
ic:spPr>
</p
ic:pic>

end example]

Child Elements

Subclause

blipFill (Picture Fill)

§20.2.2.1

nvPicPr (Non-Visual Picture Properties)

§20.2.2.4

spPr (Shape Properties)

§20.2.2.6

[Note: The W3C XML Schema definition of this element’s content model (CT_Picture) is located in §A.4.2. 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: