Partager via


Context Class

Defines the Context Class.When the object is serialized out as xml, its qualified name is inkml:context.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.InkML.Context

Namespace:  DocumentFormat.OpenXml.InkML
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CanvasTransform))> _
<ChildElementInfoAttribute(GetType(Timestamp))> _
<ChildElementInfoAttribute(GetType(Brush))> _
<ChildElementInfoAttribute(GetType(Canvas))> _
<ChildElementInfoAttribute(GetType(TraceFormat))> _
<ChildElementInfoAttribute(GetType(InkSource))> _
Public Class Context _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Context
[ChildElementInfoAttribute(typeof(CanvasTransform))]
[ChildElementInfoAttribute(typeof(Timestamp))]
[ChildElementInfoAttribute(typeof(Brush))]
[ChildElementInfoAttribute(typeof(Canvas))]
[ChildElementInfoAttribute(typeof(TraceFormat))]
[ChildElementInfoAttribute(typeof(InkSource))]
public class Context : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Canvas <inkml:canvas>

  • CanvasTransform <inkml:canvasTransform>

  • TraceFormat <inkml:traceFormat>

  • InkSource <inkml:inkSource>

  • Brush <inkml:brush>

  • Timestamp <inkml:timestamp>

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

Context Members

DocumentFormat.OpenXml.InkML Namespace