EnsureValidId(String, Boolean) Method

Definition

Namespace Svg
Assembly Svg.Custom.dll

Ensures that the specified ID is unique within the containing SvgDocument.

public string EnsureValidId(string id, bool autoForceUniqueID = false)

Parameters

id
String?

A String? containing the ID to validate.

autoForceUniqueID
Boolean

Creates a new unique id String?.

Returns