StructuredDocumentTagRangeStart

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

NameTypeAccessDescription
NodeTypeNodeTypeReadReturns StructuredDocumentTagRangeStart.
LastChildNodeReadGets the last child in the stdContent range.
LevelMarkupLevelReadGets the level at which this structured document tag range start occurs in the document tree.
SdtTypeSdtTypeReadGets type of this structured document tag.
ColorSystem.Drawing.ColorRead/WriteGets or sets the color of the structured document tag.
IdintReadSpecifies a unique read-only persistent numerical Id for this structured document tag.
LockContentControlboolRead/WriteWhen set to true, this property will prohibit a user from deleting this structured document tag.
LockContentsboolRead/WriteWhen set to true, this property will prohibit a user from editing the contents of this structured document tag.
IsShowingPlaceholderTextboolRead/WriteSpecifies 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).
PlaceholderBuildingBlockReadGets 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.
PlaceholderNamestringRead/WriteGets or sets Name of the BuildingBlock containing placeholder text.
TagstringRead/WriteSpecifies a tag associated with the current structured document tag node.
TitlestringRead/WriteSpecifies the friendly name associated with this structured document tag.
WordOpenXMLstringReadGets a string that represents the XML contained within the node in the FlatOpc format.
WordOpenXMLMinimalstringReadGets a string that represents the XML contained within the node in the FlatOpc format.
AppearanceSdtAppearanceRead/WriteGets or sets the appearance of the structured document tag.
XmlMappingXmlMappingReadGets an object that represents the mapping of this structured document tag range to XML data in a custom XML part of the current document.
RangeEndStructuredDocumentTagRangeEndReadSpecifies end of range if the StructuredDocumentTag is a ranged structured document tag.
ParentNodeCompositeNodeReadGets the immediate parent of this node.
DocumentDocumentBaseReadGets the document to which this node belongs.
PreviousSiblingNodeReadGets the node immediately preceding this node.
NextSiblingNodeReadGets the node immediately following this node.
IsCompositeboolReadReturns true if this node can contain other nodes.
RangeRangeReadReturns a Range object that represents the portion of a document that is contained in this node.
CustomNodeIdintRead/WriteSpecifies custom node identifier.
IsMultiSectionboolReadReturns true if this instance is a ranged (multi-section) structured document tag.
NodeNodeReadReturns Node object that implements this interface.

Methods

SignatureDescription
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.

See Also