---
title: "Aspose::Pdf::Annotations::AnnotationSelector::Visit method"
url: "https://reference.aspose.com/pdf/cpp/aspose.pdf.annotations/annotationselector/visit/"
product: "Aspose.PDF for C++ API Reference"
description: "Aspose::Pdf::Annotations::AnnotationSelector::Visit method. Selects the bleedMark  if the AnnotationSelector was initialized with a BleedMarkAnnotation object in C++."
---

## AnnotationSelector::Visit(const System::SharedPtr\<BleedMarkAnnotation\>\&) method


Selects the *bleedMark*  if the [AnnotationSelector](../) was initialized with a [BleedMarkAnnotation](../../bleedmarkannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<BleedMarkAnnotation> &bleedMark) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| bleedMark | const System::SharedPtr\<BleedMarkAnnotation\>\& | The [BleedMarkAnnotation](../../bleedmarkannotation/) object for selection. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [BleedMarkAnnotation](../../bleedmarkannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<CaretAnnotation\>\&) method


Select caret annotation if [AnnotationSelector](../) was initialized with [CaretAnnotation](../../caretannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<CaretAnnotation> &caret) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| caret | const System::SharedPtr\<CaretAnnotation\>\& | [CaretAnnotation](../../caretannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CaretAnnotation](../../caretannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<CircleAnnotation\>\&) method


Select circle annotation if [AnnotationSelector](../) was initialized with [CircleAnnotation](../../circleannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<CircleAnnotation> &circle) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| circle | const System::SharedPtr\<CircleAnnotation\>\& | [CircleAnnotation](../../circleannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CircleAnnotation](../../circleannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<ColorBarAnnotation\>\&) method


Select ColorBar annotation if [AnnotationSelector](../) was initialized with ColorBar object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<ColorBarAnnotation> &colorBar)
```


| Parameter | Type | Description |
| --- | --- | --- |
| colorBar | const System::SharedPtr\<ColorBarAnnotation\>\& | [PDF3DAnnotation](../../pdf3dannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [ColorBarAnnotation](../../colorbarannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<FileAttachmentAnnotation\>\&) method


Select attachment annotation if [AnnotationSelector](../) was initialized with [FileAttachmentAnnotation](../../fileattachmentannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<FileAttachmentAnnotation> &attachment) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| attachment | const System::SharedPtr\<FileAttachmentAnnotation\>\& | [FileAttachmentAnnotation](../../fileattachmentannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [FileAttachmentAnnotation](../../fileattachmentannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<FreeTextAnnotation\>\&) method


Select freetext annotation if [AnnotationSelector](../) was initialized with [FreeTextAnnotation](../../freetextannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<FreeTextAnnotation> &freetext) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| freetext | const System::SharedPtr\<FreeTextAnnotation\>\& | [FreeTextAnnotation](../../freetextannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [FreeTextAnnotation](../../freetextannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<HighlightAnnotation\>\&) method


Select attachment annotation if [AnnotationSelector](../) was initialized with [FreeTextAnnotation](../../freetextannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<HighlightAnnotation> &highlight) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| highlight | const System::SharedPtr\<HighlightAnnotation\>\& | [HighlightAnnotation](../../highlightannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [HighlightAnnotation](../../highlightannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<InkAnnotation\>\&) method


Select ink annotation if [AnnotationSelector](../) was initialized with [InkAnnotation](../../inkannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<InkAnnotation> &ink) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| ink | const System::SharedPtr\<InkAnnotation\>\& | [InkAnnotation](../../inkannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [InkAnnotation](../../inkannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<LineAnnotation\>\&) method


Select line annotation if [AnnotationSelector](../) was initialized with [LineAnnotation](../../lineannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<LineAnnotation> &line) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| line | const System::SharedPtr\<LineAnnotation\>\& | [LineAnnotation](../../lineannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [LineAnnotation](../../lineannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<LinkAnnotation\>\&) method


Select link annotation if [AnnotationSelector](../) was initialized with [LinkAnnotation](../../linkannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<LinkAnnotation> &link) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| link | const System::SharedPtr\<LinkAnnotation\>\& | [LinkAnnotation](../../linkannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [LinkAnnotation](../../linkannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<MovieAnnotation\>\&) method


Select movie annotation if [AnnotationSelector](../) was initialized with [MovieAnnotation](../../movieannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<MovieAnnotation> &movie) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| movie | const System::SharedPtr\<MovieAnnotation\>\& | [MovieAnnotation](../../movieannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [MovieAnnotation](../../movieannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<PageInformationAnnotation\>\&) method


Selects the *pageInformation*  if the [AnnotationSelector](../) was initialized with a [PageInformationAnnotation](../../pageinformationannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<PageInformationAnnotation> &pageInformation) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| pageInformation | const System::SharedPtr\<PageInformationAnnotation\>\& | The [PageInformationAnnotation](../../pageinformationannotation/) object for selection. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PageInformationAnnotation](../../pageinformationannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<PDF3DAnnotation\>\&) method


Select PDF3D annotation if [AnnotationSelector](../) was initialized with [PDF3DAnnotation](../../pdf3dannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<PDF3DAnnotation> &pdf3D)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pdf3D | const System::SharedPtr\<PDF3DAnnotation\>\& | [PDF3DAnnotation](../../pdf3dannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PDF3DAnnotation](../../pdf3dannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<PolygonAnnotation\>\&) method


Select polygon annotation if [AnnotationSelector](../) was initialized with [PolygonAnnotation](../../polygonannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<PolygonAnnotation> &polygon) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| polygon | const System::SharedPtr\<PolygonAnnotation\>\& | [PolygonAnnotation](../../polygonannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PolygonAnnotation](../../polygonannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<PolylineAnnotation\>\&) method


Select polyline annotation if [AnnotationSelector](../) was initialized with [PolylineAnnotation](../../polylineannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<PolylineAnnotation> &polyline) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| polyline | const System::SharedPtr\<PolylineAnnotation\>\& | [PolylineAnnotation](../../polylineannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PolylineAnnotation](../../polylineannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<PopupAnnotation\>\&) method


Select popup annotation if [AnnotationSelector](../) was initialized with [PopupAnnotation](../../popupannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<PopupAnnotation> &popup) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| popup | const System::SharedPtr\<PopupAnnotation\>\& | [PopupAnnotation](../../popupannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PopupAnnotation](../../popupannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<RedactionAnnotation\>\&) method


Select redact annotation if [AnnotationSelector](../) was initialized with RedactAnnotation object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<RedactionAnnotation> &redact)
```


| Parameter | Type | Description |
| --- | --- | --- |
| redact | const System::SharedPtr\<RedactionAnnotation\>\& | RedactAnnotation object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [RedactionAnnotation](../../redactionannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<RegistrationMarkAnnotation\>\&) method


Selects the *registrationMark*  if the [AnnotationSelector](../) was initialized with a [RegistrationMarkAnnotation](../../registrationmarkannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<RegistrationMarkAnnotation> &registrationMark) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| registrationMark | const System::SharedPtr\<RegistrationMarkAnnotation\>\& | The [RegistrationMarkAnnotation](../../registrationmarkannotation/) object for selection. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [RegistrationMarkAnnotation](../../registrationmarkannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<RichMediaAnnotation\>\&) method


Select movie annotation if [AnnotationSelector](../) was initialized with RichMedia annotation object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<RichMediaAnnotation> &richMedia)
```


| Parameter | Type | Description |
| --- | --- | --- |
| richMedia | const System::SharedPtr\<RichMediaAnnotation\>\& | RichMedia annotation. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [RichMediaAnnotation](../../richmediaannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<ScreenAnnotation\>\&) method


Select screen annotation if [AnnotationSelector](../) was initialized with [ScreenAnnotation](../../screenannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<ScreenAnnotation> &screen) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| screen | const System::SharedPtr\<ScreenAnnotation\>\& | [ScreenAnnotation](../../screenannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [ScreenAnnotation](../../screenannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<SquareAnnotation\>\&) method


Select square annotation if [AnnotationSelector](../) was initialized with [SquareAnnotation](../../squareannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<SquareAnnotation> &square) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| square | const System::SharedPtr\<SquareAnnotation\>\& | [SquareAnnotation](../../squareannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SquareAnnotation](../../squareannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<SquigglyAnnotation\>\&) method


Select squiggly annotation if [AnnotationSelector](../) was initialized with [SquigglyAnnotation](../../squigglyannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<SquigglyAnnotation> &squiggly) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| squiggly | const System::SharedPtr\<SquigglyAnnotation\>\& | [SquigglyAnnotation](../../squigglyannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SquigglyAnnotation](../../squigglyannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<StampAnnotation\>\&) method


Select stamp annotation if [AnnotationSelector](../) was initialized with [StampAnnotation](../../stampannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<StampAnnotation> &stamp) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| stamp | const System::SharedPtr\<StampAnnotation\>\& | [StampAnnotation](../../stampannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [StampAnnotation](../../stampannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<StrikeOutAnnotation\>\&) method


Select strikeOut annotation if [AnnotationSelector](../) was initialized with [StrikeOutAnnotation](../../strikeoutannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<StrikeOutAnnotation> &strikeOut) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| strikeOut | const System::SharedPtr\<StrikeOutAnnotation\>\& | [StrikeOutAnnotation](../../strikeoutannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [StrikeOutAnnotation](../../strikeoutannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<TextAnnotation\>\&) method


Select text annotation if [AnnotationSelector](../) was initialized with [TextAnnotation](../../textannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<TextAnnotation> &text) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | const System::SharedPtr\<TextAnnotation\>\& | [TextAnnotation](../../textannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextAnnotation](../../textannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<TrimMarkAnnotation\>\&) method


Selects the *trimMark*  if the [AnnotationSelector](../) was initialized with a [TrimMarkAnnotation](../../trimmarkannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<TrimMarkAnnotation> &trimMark) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| trimMark | const System::SharedPtr\<TrimMarkAnnotation\>\& | The [TrimMarkAnnotation](../../trimmarkannotation/) object for selection. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TrimMarkAnnotation](../../trimmarkannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<UnderlineAnnotation\>\&) method


Select underline annotation if [AnnotationSelector](../) was initialized with [UnderlineAnnotation](../../underlineannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<UnderlineAnnotation> &underline) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| underline | const System::SharedPtr\<UnderlineAnnotation\>\& | [UnderlineAnnotation](../../underlineannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [UnderlineAnnotation](../../underlineannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<WatermarkAnnotation\>\&) method


Select watermark annotation if [AnnotationSelector](../) was initialized with [WatermarkAnnotation](../../watermarkannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<WatermarkAnnotation> &watermark)
```


| Parameter | Type | Description |
| --- | --- | --- |
| watermark | const System::SharedPtr\<WatermarkAnnotation\>\& | [WatermarkAnnotation](../../watermarkannotation/) for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [WatermarkAnnotation](../../watermarkannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
## AnnotationSelector::Visit(const System::SharedPtr\<WidgetAnnotation\>\&) method


Select widget annotation if [AnnotationSelector](../) was initialized with [WidgetAnnotation](../../widgetannotation/) object.

```cpp
void Aspose::Pdf::Annotations::AnnotationSelector::Visit(const System::SharedPtr<WidgetAnnotation> &widget) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| widget | const System::SharedPtr\<WidgetAnnotation\>\& | [WidgetAnnotation](../../widgetannotation/) object for selecting. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [WidgetAnnotation](../../widgetannotation/)
* Class [AnnotationSelector](../)
* Namespace [Aspose::Pdf::Annotations](../../)
* Library [Aspose.PDF for C++](../../../)
