<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHProjectTextElement/ElementType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:@E@PHProjectTextElementType"
  },
  "title" : "PHProjectTextElement.ElementType"
}
-->

# PHProjectTextElement.ElementType

An enumeration of the type of text element.

```
enum ElementType
```

## Topics

### Types of Text Elements

[`case body`](/documentation/PhotosUI/PHProjectTextElement/ElementType/body)

An enumeration to denote body text.

[`case title`](/documentation/PhotosUI/PHProjectTextElement/ElementType/title)

An enumeration to denote title text in the header view.

[`case subtitle`](/documentation/PhotosUI/PHProjectTextElement/ElementType/subtitle)

An enumeration to denote subtitle text in the header view.

### Initializers

[`init?(rawValue: Int)`](/documentation/PhotosUI/PHProjectTextElement/ElementType/init(rawValue:))

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)