Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1SvgElement interface

Interface for all SVG elements.

Members

The ID2D1SvgElement interface inherits from ID2D1Resource. ID2D1SvgElement also has these types of members:

Methods

The ID2D1SvgElement interface has these methods.

MethodDescription
AppendChild

Appends an element to the list of children.

CreateChild

Creates an element from a tag name. The element is appended to the list of children.

GetAttributeValue Overloaded.

Gets an attribute of this element.

GetAttributeValueLength

Gets the string length of an attribute of this element.

GetDocument

Gets the document that contains this element.

GetFirstChild

Gets the first child of this element.

GetLastChild

Gets the last child of this element.

GetNextChild

Gets the next sibling of the referenceChild element.

GetParent

Gets the parent element.

GetPreviousChild

Gets the previous sibling of the referenceChild element.

GetSpecifiedAttributeCount

Returns the number of specified attributes on this element.

GetSpecifiedAttributeName

Gets the name of the attribute at the given index.

GetSpecifiedAttributeNameLength

Gets the string length of the name of the specified attribute at the given index.

GetTagName

Gets the tag name.

GetTagNameLength

Gets the string length of the tag name.

GetTextValue

Gets the value of a text content element.

GetTextValueLength

Gets the length of the text content value.

HasChildren

Returns a boolean indicating whether this element has children.

InsertChildBefore

Inserts newChild as a child of this element, before the referenceChild element.

IsAttributeSpecified

Returns a boolean indicating if the attribute is explicitly set on the element.

IsTextContent

Returns a boolean indicating wether this element represents text content.

RemoveAttribute

Removes the attribute from this element.

RemoveChild

Removes the oldChild from the tree. Children of oldChild remain children of oldChild.

ReplaceChild

Replaces the oldChild element with the newChild.

SetAttributeValue Overloaded.

Sets an attribute of this element.

SetTextValue

Sets the value of a text content element.

 

Requirements

Header

D2d1svg.h

DLL

Direct2d.dll

 

 

Show:
© 2017 Microsoft