PhotoAlbum Class
Photo Album Information.When the object is serialized out as xml, its qualified name is p:photoAlbum.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.PhotoAlbum
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class PhotoAlbum _
Inherits OpenXmlCompositeElement
用法
Dim instance As PhotoAlbum
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class PhotoAlbum : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- ExtensionList <p:extLst>
[ISO/IEC 29500-1 第 1 个版本]
19.2.1.24 photoAlbum (Photo Album Information)
This element specifies that the corresponding presentation contains a photo album. A photo album specifies a list of images within the presentation that spread across one or more slides, all of which share a consistent layout. Each image in the album is formatted with a consistent style. This functionality enables the application to manage all of the images together and modify their ordering, layout, and formatting as a set.
This element does not enforce the specified properties on individual photo album images; rather, it specifies common settings that should be applied by default to all photo album images and their containing slides. Images that are part of the photo album are identified by the presence of the isPhoto element in the definition of the picture.
[Example: Consider the following presentation that has been specified as a photo album
<p:presentation xmlns:a="" xmlns:r="" xmlns:p="" embedTrueTypeFonts="1">
…
<p:photoAlbum bw="1" layout="2pic"/>
…
</p:presentation>
end example]
Parent Elements |
---|
presentation (§19.2.1.26) |
Child Elements |
Subclause |
---|---|
extLst (Extension List) |
§19.2.1.12 |
Attributes |
Description |
---|---|
bw (Black and White) |
Specifies whether all pictures in the photo album are to be displayed as black and white. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
frame (Frame Type) |
Specifies the frame type that is to be used on all the pictures in the photo album. The possible values for this attribute are defined by the ST_PhotoAlbumFrameShape simple type (§19.7.7). |
layout (Photo Album Layout) |
Specifies the layout that is to be used to arrange the pictures in the photo album on individual slides. The possible values for this attribute are defined by the ST_PhotoAlbumLayout simple type (§19.7.8). |
showCaptions (Show/Hide Captions) |
Specifies whether to show captions for pictures in the photo album. Captions are text boxes grouped with each image, with the group set to not allow ungrouping. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
[Note: The W3C XML Schema definition of this element's content model (CT_PhotoAlbum) is located in §A.3. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
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.