# GraffitiAnchor
Class Inherits GraffitiWebUIControl
## About
GraffitiAnchor creates anchor points on the page, allowing for quick and easy scrolling to draw the user's attention to a UI element.
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Open | (None) | (None) | |
| Shown | (None) | (None) | |
## Examples
### Scrolling from a WebButton or other control
* Set the GraffitiAnchor instance's Name property to something unique, such as "myAnchorOnMainPageInSectionTwo".
* To initiate the scroll, pass the name with a preceding hashtag to Session.GotoURL, IE: ""#myAnchorOnMainPageInSectionTwo"."
```
Session.GotoURL( "#" + anchorPageTopLeft.Name )
```
### Scrolling from a WebLink
* Set the GraffitiAnchor instance's Name property to something unique, such as "myAnchorOnMainPageInSectionTwo".
* Set a WebLink's URL property to match with a preceding hashtag, IE: "#myAnchorOnMainPageInSectionTwo".