## Element::Tag(const System::SharedPtr\<Annotations::Annotation\>\&) method


Bind a structure element to the Annotation.

```cpp
virtual System::SharedPtr<OBJRElement> Aspose::Pdf::LogicalStructure::Element::Tag(const System::SharedPtr<Annotations::Annotation> &annotation)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| annotation | const System::SharedPtr\<Annotations::Annotation\>\& | [Pdf](../../../aspose.pdf/) annotation. |

### ReturnValue

[T:/Aspose::Pdf::LogicalStructure::OBJRElement](../)[Structure](../../../aspose.pdf.structure/) element.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [OBJRElement](../../objrelement/)
* Class [Annotation](../../../aspose.pdf.annotations/annotation/)
* Class [Element](../)
* Namespace [Aspose::Pdf::LogicalStructure](../../)
* Library [Aspose.PDF for C++](../../../)
## Element::Tag(const System::SharedPtr\<Artifact\>\&) method


Bind a structure element to the [Artifact](../../../aspose.pdf/artifact/).

```cpp
virtual System::SharedPtr<MCRElement> Aspose::Pdf::LogicalStructure::Element::Tag(const System::SharedPtr<Artifact> &artifact)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| artifact | const System::SharedPtr\<Artifact\>\& | [Pdf](../../../aspose.pdf/) artifact. |

### ReturnValue

[T:/Aspose::Pdf::LogicalStructure::MCRElement](../)[Structure](../../../aspose.pdf.structure/) element.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [MCRElement](../../mcrelement/)
* Class [Artifact](../../../aspose.pdf/artifact/)
* Class [Element](../)
* Namespace [Aspose::Pdf::LogicalStructure](../../)
* Library [Aspose.PDF for C++](../../../)
## Element::Tag(const System::SharedPtr\<Operators::BDC\>\&) method


Bind a structure element to the content stream BDC operator.

```cpp
virtual System::SharedPtr<MCRElement> Aspose::Pdf::LogicalStructure::Element::Tag(const System::SharedPtr<Operators::BDC> &bdc)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| bdc | const System::SharedPtr\<Operators::BDC\>\& | Content stream bdc operator. |

### ReturnValue

[T:/Aspose::Pdf::LogicalStructure::MCRElement](../)[Structure](../../../aspose.pdf.structure/) element.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [MCRElement](../../mcrelement/)
* Class [BDC](../../../aspose.pdf.operators/bdc/)
* Class [Element](../)
* Namespace [Aspose::Pdf::LogicalStructure](../../)
* Library [Aspose.PDF for C++](../../../)
## Element::Tag(const System::SharedPtr\<XForm\>\&) method


Bind a structure element to the content stream [XForm](../../../aspose.pdf/xform/).

```cpp
virtual System::SharedPtr<OBJRElement> Aspose::Pdf::LogicalStructure::Element::Tag(const System::SharedPtr<XForm> &form)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| form | const System::SharedPtr\<XForm\>\& | [Pdf](../../../aspose.pdf/) form. |

### ReturnValue

[T:/Aspose::Pdf::LogicalStructure::OBJRElement](../)[Structure](../../../aspose.pdf.structure/) element.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [OBJRElement](../../objrelement/)
* Class [XForm](../../../aspose.pdf/xform/)
* Class [Element](../)
* Namespace [Aspose::Pdf::LogicalStructure](../../)
* Library [Aspose.PDF for C++](../../../)
## Element::Tag(const System::SharedPtr\<XImage\>\&) method


Bind a structure element to the [XImage](../../../aspose.pdf/ximage/).

```cpp
virtual System::SharedPtr<OBJRElement> Aspose::Pdf::LogicalStructure::Element::Tag(const System::SharedPtr<XImage> &image)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| image | const System::SharedPtr\<XImage\>\& | [Pdf](../../../aspose.pdf/) image. |

### ReturnValue

[T:/Aspose::Pdf::LogicalStructure::OBJRElement](../)[Structure](../../../aspose.pdf.structure/) element.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [OBJRElement](../../objrelement/)
* Class [XImage](../../../aspose.pdf/ximage/)
* Class [Element](../)
* Namespace [Aspose::Pdf::LogicalStructure](../../)
* Library [Aspose.PDF for C++](../../../)
