Méthode | 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.
|
Méthode | Description | |
---|---|---|
OnAdded ( |
||
OnRemoved ( |
public Add ( |
||
element | The |
|
Résultat | 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 |
Résultat | bool |
public EnsureValidId ( string id, bool autoForceUniqueID = false ) : string | ||
id | string | A |
autoForceUniqueID | bool | Creates a new unique id |
Résultat | string |
public GetElementById ( |
||
uri | ||
Résultat |
public GetElementById ( string id ) : |
||
id | string | A |
Résultat |
protected OnAdded ( |
||
element | ||
Résultat | void |
protected OnRemoved ( |
||
element | ||
Résultat | void |
public Remove ( |
||
element | The |
|
Résultat | void |
public SvgElementIdManager ( SvgDocument document ) : System | ||
document | SvgDocument | The |
Résultat | System |