StructuredDocumentTagRangeStart
Overview
StructuredDocumentTagRangeStart is a class in Aspose.Words FOSS for .NET.
Inherits from: Node, IEnumerable<Node>, IStructuredDocumentTag.
Represents a start of ranged structured document tag which accepts multi-sections content.
This class provides 16 methods for working with StructuredDocumentTagRangeStart objects in .NET programs.
Available methods include: Accept, AppendChild, Clone, GetAncestor, GetAncestorOf, GetChildNodes, GetEnumerator, GetText, NextPreOrder, NodeTypeToString, PreviousPreOrder, Remove, and 4 additional methods.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Appearance, Color, CustomNodeId, Document, Id, IsComposite, and 21 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
NodeType | NodeType | Read | Returns StructuredDocumentTagRangeStart. |
LastChild | Node | Read | Gets the last child in the stdContent range. |
Level | MarkupLevel | Read | Gets the level at which this structured document tag range start occurs in the document tree. |
SdtType | SdtType | Read | Gets type of this structured document tag. |
Color | System.Drawing.Color | Read/Write | Gets or sets the color of the structured document tag. |
Id | int | Read | Specifies a unique read-only persistent numerical Id for this structured document tag. |
LockContentControl | bool | Read/Write | When set to true, this property will prohibit a user from deleting this structured document tag. |
LockContents | bool | Read/Write | When set to true, this property will prohibit a user from editing the contents of this structured document tag. |
IsShowingPlaceholderText | bool | Read/Write | Specifies whether the content of this structured document tag shall be interpreted to contain placeholder text (as opposed to regular text contents within the structured document tag). |
Placeholder | BuildingBlock | Read | Gets the BuildingBlock containing placeholder text which should be displayed when this structured document tag run contents are empty, the associated mapped XML element is empty as specified via the XmlMapping element or the IsShowingPlaceholderText element is true. |
PlaceholderName | string | Read/Write | Gets or sets Name of the BuildingBlock containing placeholder text. |
Tag | string | Read/Write | Specifies a tag associated with the current structured document tag node. |
Title | string | Read/Write | Specifies the friendly name associated with this structured document tag. |
WordOpenXML | string | Read | Gets a string that represents the XML contained within the node in the FlatOpc format. |
WordOpenXMLMinimal | string | Read | Gets a string that represents the XML contained within the node in the FlatOpc format. |
Appearance | SdtAppearance | Read/Write | Gets or sets the appearance of the structured document tag. |
XmlMapping | XmlMapping | Read | Gets an object that represents the mapping of this structured document tag range to XML data in a custom XML part of the current document. |
RangeEnd | StructuredDocumentTagRangeEnd | Read | Specifies end of range if the StructuredDocumentTag is a ranged structured document tag. |
ParentNode | CompositeNode | Read | Gets the immediate parent of this node. |
Document | DocumentBase | Read | Gets the document to which this node belongs. |
PreviousSibling | Node | Read | Gets the node immediately preceding this node. |
NextSibling | Node | Read | Gets the node immediately following this node. |
IsComposite | bool | Read | Returns true if this node can contain other nodes. |
Range | Range | Read | Returns a Range object that represents the portion of a document that is contained in this node. |
CustomNodeId | int | Read/Write | Specifies custom node identifier. |
IsMultiSection | bool | Read | Returns true if this instance is a ranged (multi-section) structured document tag. |
Node | Node | Read | Returns Node object that implements this interface. |
Methods
| Signature | Description |
|---|---|
StructuredDocumentTagRangeStart(doc: DocumentBase, type: SdtType) | Initializes a new instance of the Structured document tag range start class. |
GetChildNodes(nodeType: NodeType, isDeep: bool) | Returns a live collection of child nodes that match the specified types. |
Accept(visitor: DocumentVisitor) | Calls Accept(visitor) on this StructuredDocumentTagRangeStart instance. |
GetEnumerator() | Provides support for the for each style iteration over the child nodes of this node. |
AppendChild(newChild: Node) | Adds the specified node to the end of the stdContent range. |
RemoveAllChildren() | Removes all the nodes between this range start node and the range end node. |
RemoveSelfOnly() | Removes this range start and appropriate range end nodes of the structured document tag, but keeps its content inside the document tree. |
Clone(isCloneChildren: bool) | You should use the Clone(bool, INodeCloningListener) overload when the node cloning is a part of another (usually composite) node cloning process. |
GetText() | Gets the text of this node and of all its children. |
GetAncestor(ancestorType: Type) | Gets the first ancestor of the specified object type. |
GetAncestorOf() | Calls GetAncestorOf on this StructuredDocumentTagRangeStart instance. |
Remove() | Removes itself from the parent. |
NextPreOrder(rootNode: Node) | Gets next node according to the pre-order tree traversal algorithm. |
PreviousPreOrder(rootNode: Node) | Gets the previous node according to the pre-order tree traversal algorithm. |
ToString(saveFormat: SaveFormat) | Exports the content of the node into a string in the specified format. |
NodeTypeToString(nodeType: NodeType) | A utility method that converts a node type enum value into a user friendly string. |