Picture-Klasse
Defines the Picture Class.When the object is serialized out as xml, its qualified name is p:pic.
Vererbungshierarchie
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.Picture
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(NonVisualPictureProperties))> _
<ChildElementInfoAttribute(GetType(ShapeProperties))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(ShapeStyle))> _
<ChildElementInfoAttribute(GetType(ExtensionListWithModification))> _
Public Class Picture _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Picture
[ChildElementInfoAttribute(typeof(NonVisualPictureProperties))]
[ChildElementInfoAttribute(typeof(ShapeProperties))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(ShapeStyle))]
[ChildElementInfoAttribute(typeof(ExtensionListWithModification))]
public class Picture : OpenXmlCompositeElement
Hinweise
The following table lists the possible child types:
NonVisualPictureProperties <p:nvPicPr>
BlipFill <p:blipFill>
ShapeProperties <p:spPr>
ShapeStyle <p:style>
ExtensionListWithModification <p:extLst>
[ISO/IEC 29500-1 1. Ausgabe]
19.3.1.37 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 |
---|
control (§19.3.2.1); grpSp (§19.3.1.22); oleObj (§19.3.2.4); spTree (§19.3.1.45) |
Child Elements |
Subclause |
---|---|
blipFill (Picture Fill) |
§19.3.1.4 |
extLst (Extension List with Modification Flag) |
§19.3.1.20 |
nvPicPr (Non-Visual Properties for a Picture) |
§19.3.1.32 |
spPr (Shape Properties) |
§19.3.1.44 |
style (Shape Style) |
§19.3.1.46 |
[Note: The W3C XML Schema definition of this element's content model (CT_Picture) is located in §A.3. end note]
© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.