Method | Description | |
---|---|---|
Add ( |
Adds the specified SvgElement for ID management.
|
|
AddAndForceUniqueID ( |
Adds the specified SvgElement for ID management. And can auto fix the ID if it already exists or it starts with a number.
|
|
EnsureValidId ( string id, bool autoForceUniqueID = false ) : string |
Ensures that the specified ID is valid within the containing SvgDocument.
|
|
GetElementById ( |
||
GetElementById ( string id ) : |
Retrieves the SvgElement with the specified ID.
|
|
Remove ( |
Removed the specified SvgElement from ID management.
|
|
SvgElementIdManager ( SvgDocument document ) : System |
Initialises a new instance of an SvgElementIdManager.
|
Method | Description | |
---|---|---|
OnAdded ( |
||
OnRemoved ( |
public Add ( |
||
element | The |
|
return | void |
public AddAndForceUniqueID ( |
||
element | The |
|
sibling | ||
autoForceUniqueID | bool | Pass true here, if you want the ID to be fixed |
logElementOldIDNewID | Action |
If not null, the action is called before the id is fixed |
return | bool |
public EnsureValidId ( string id, bool autoForceUniqueID = false ) : string | ||
id | string | A |
autoForceUniqueID | bool | Creates a new unique id |
return | string |
public GetElementById ( |
||
uri | ||
return |
public GetElementById ( string id ) : |
||
id | string | A |
return |
protected OnAdded ( |
||
element | ||
return | void |
protected OnRemoved ( |
||
element | ||
return | void |
public Remove ( |
||
element | The |
|
return | void |
public SvgElementIdManager ( SvgDocument document ) : System | ||
document | SvgDocument | The |
return | System |