Picture-Klasse
Picture.When the object is serialized out as xml, its qualified name is pic:pic.
Vererbungshierarchie
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Pictures.Picture
Namespace: DocumentFormat.OpenXml.Drawing.Pictures
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(OfficeArtExtensionList), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ShapeStyle), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NonVisualPictureProperties))> _
<ChildElementInfoAttribute(GetType(ShapeProperties))> _
Public Class Picture _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Picture
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(OfficeArtExtensionList), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ShapeStyle), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NonVisualPictureProperties))]
[ChildElementInfoAttribute(typeof(ShapeProperties))]
public class Picture : OpenXmlCompositeElement
Hinweise
The following table lists the possible child types:
NonVisualPictureProperties <pic:nvPicPr>
BlipFill <pic:blipFill>
ShapeProperties <pic:spPr>
DocumentFormat.OpenXml.Office2010.Drawing.Pictures.ShapeStyle <pic14:style>
DocumentFormat.OpenXml.Office2010.Drawing.Pictures.OfficeArtExtensionList <pic14:extLst>
[ISO/IEC 29500-1 1. Ausgabe]
20.2.2.5 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"/>
</pic:cNvPicPr>
<pic:nvPr/>
</pic:nvPicPr>
<pic:blipFill>
…
</pic:blipFill>
<pic:spPr>
…
</pic:spPr>
</pic: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. 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.