次の方法で共有


PlaceholderShape Class

Placeholder Shape.When the object is serialized out as xml, its qualified name is p:ph.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.PlaceholderShape

Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'宣言
<ChildElementInfoAttribute(GetType(ExtensionListWithModification))> _
Public Class PlaceholderShape _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As PlaceholderShape
[ChildElementInfoAttribute(typeof(ExtensionListWithModification))]
public class PlaceholderShape : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ExtensionListWithModification <p:extLst>

[ISO/IEC 29500-1 初版]

19.3.1.36 ph (Placeholder Shape)

This element specifies that the corresponding shape should be represented by the generating application as a placeholder. When a shape is considered a placeholder by the generating application it can have special properties to alert the user that they can enter content into the shape. Different placeholder types are allowed and can be specified by using the placeholder type attribute for this element.

Parent Elements

nvPr (§19.3.1.33)

Child Elements

Subclause

extLst (Extension List with Modification Flag)

§19.3.1.20

Attributes

Description

hasCustomPrompt (Placeholder has custom prompt)

Specifies whether the corresponding placeholder should have a custom prompt or not.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

idx (Placeholder Index)

Specifies the placeholder index. This is used when applying templates or changing layouts to match a placeholder on one template/master to another.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

orient (Placeholder Orientation)

Specifies the orientation of a placeholder.

The possible values for this attribute are defined by the ST_Direction simple type (§19.7.2).

sz (Placeholder Size)

Specifies the size of a placeholder.

The possible values for this attribute are defined by the ST_PlaceholderSize simple type (§19.7.9).

type (Placeholder Type)

Specifies what content type a placeholder is intended to contain.

The possible values for this attribute are defined by the ST_PlaceholderType simple type (§19.7.10).

[Note: The W3C XML Schema definition of this element's content model (CT_Placeholder) is located in §A.3. end note]

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、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.

See Also

Reference

PlaceholderShape Members

DocumentFormat.OpenXml.Presentation Namespace