AcquireStreamForLinkTargets Method

BasePackagingPolicy.AcquireStreamForLinkTargets Method ()


When overridden in a derived class, gets a list of strings, each expressing a LinkTarget element.

Namespace:   System.Windows.Xps.Serialization
Assembly:  ReachFramework (in ReachFramework.dll)

public abstract IList<string> AcquireStreamForLinkTargets()

Return Value

Type: System.Collections.Generic.IList<String>

An IList<T> of String objects that represent the linkable targets for a page.

Use the list to compose LinkTarget elements that can be inserted into the PageContent.LinkTargetselement for the corresponding page. Wrap each string in the list in markup by using the following form:

<LinkTarget Name=\"target name\" />, where target name is the string.

For more information about the <PageContent.LinkTargets> and LinkTarget elements, see chapter 3 in the XML Paper Specification (XPS) specification, which you can obtain at XPS: Specification and License Downloads.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft