Skip to main content

Brick.AnchorName Property

Gets or sets an anchor name assigned to the Brick object.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[XtraSerializableProperty]
public string AnchorName { get; set; }

Property Value

Type Description
String

A String value.

Remarks

Use this property to specify a name attribute of the anchor tag when exporting a document into HTML: <a name=”#AnchorName“> </a>. The brick becomes an anchor with the name attribute set, preceded by a number sign ‘ # ‘, and acts as a bookmark or a link target for the browser.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AnchorName property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also