Compartir a través de


SourceLink Class

Defines the SourceLink Class.When the object is serialized out as xml, its qualified name is msink:sourceLink.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Ink.ContextLinkType
        DocumentFormat.OpenXml.Office2010.Ink.SourceLink

Namespace:  DocumentFormat.OpenXml.Office2010.Ink
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class SourceLink _
    Inherits ContextLinkType
'Usage
Dim instance As SourceLink
public class SourceLink : ContextLinkType

Remarks

2.5.57 CT_CtxLink

Target namespace: https://schemas.microsoft.com/ink/2008/7/17/main

Referenced by: CT_CtxNode

An element of this type defines a semantic relationship from one Ink context node to another.

Attributes:

direction : An ST_Dir attribute that specifies the direction of the sematinc link: to, from, or with. The “to” or “from” directions apply to ink that represent connectors or arrows, while “with” implies no direction, such as an underline on a word.

ref : An ST_Ref attribute that specifies the id of the other context node or Shape being linked to, from or with this context node. If it is an xsd:int, then it MUST reference a Shape ID elsewhere in this drawing. If it is an ST_Guid, then it MUST reference another context node in this document.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_CtxLink">

<xsd:attribute name="direction" type="ST_Dir"/>

<xsd:attribute name="ref" type="ST_Ref"/>

</xsd:complexType>

See section 5.9 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SourceLink Members

DocumentFormat.OpenXml.Office2010.Ink Namespace