Skip to content

ITextStudioReactionNamedAnchorHost

InterfaceTextStudioTextStudio
public interface ITextStudioReactionNamedAnchorHost

Optional host route for actions that select a native renderer anchor.

TryGetReactionAnchor(in TextStudioReactionContext, string, out TextStudioReactionAnchor)

Section titled “TryGetReactionAnchor(in TextStudioReactionContext, string, out TextStudioReactionAnchor)”
bool TryGetReactionAnchor(in TextStudioReactionContext context, string anchorKey, out TextStudioReactionAnchor anchor)

Attempts to resolve a named anchor for the semantic unit in the supplied reaction context.

Parameters

NameType
contextTextStudio.TextStudioReactionContext
anchorKeySystem.String
anchorTextStudio.TextStudioReactionAnchor

Returns

System.Boolean