Picture Class
Picture.When the object is serialized out as xml, its qualified name is a:pic.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Picture
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(ShapeStyle))> _
<ChildElementInfoAttribute(GetType(NonVisualPictureProperties))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(ShapeProperties))> _
Public Class Picture _
Inherits OpenXmlCompositeElement
'Uso
Dim instance As Picture
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(ShapeStyle))]
[ChildElementInfoAttribute(typeof(NonVisualPictureProperties))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(ShapeProperties))]
public class Picture : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
NonVisualPictureProperties <a:nvPicPr>
BlipFill <a:blipFill>
ShapeProperties <a:spPr>
ShapeStyle <a:style>
ExtensionList <a:extLst>
[ISO/IEC 29500-1 1ª edición]
20.1.2.2.30 pic (Picture)
This element specifies the existence of a picture object within the document.
[Example: Consider the following PresentationML 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.
<p:pic>
<p:nvPicPr>
<p:cNvPr id="4" name="lake.JPG" descr="Picture of a Lake" />
<p:cNvPicPr>
<a:picLocks noChangeAspect="1"/>
</p:cNvPicPr>
<p:nvPr/>
</p:nvPicPr>
<p:blipFill>
…
</p:blipFill>
<p:spPr>
…
</p:spPr>
</p:pic>
end example]
Parent Elements |
---|
grpSp (§20.1.2.2.20); lockedCanvas (§20.3.2.1) |
Child Elements |
Subclause |
---|---|
blipFill (Picture Fill) |
§20.1.8.14 |
extLst (Extension List) |
§20.1.2.2.15 |
nvPicPr (Non-Visual Properties for a Picture) |
§20.1.2.2.28 |
spPr (Shape Properties) |
§20.1.2.2.35 |
style (Shape Style) |
§20.1.2.2.37 |
[Note: The W3C XML Schema definition of this element's content model (CT_GvmlPicture) is located in §A.4.1. end note]
© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.
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.