New to Telerik Document ProcessingStart a free 30-day trial

Event args for resolving duplicate embedded file names during merge; holds original, proposed, and used names.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class DuplicatedEmbeddedFileNameResolvingEventArgs : EventArgs

Inheritance: objectEventArgsDuplicatedEmbeddedFileNameResolvingEventArgs

Inherited Members EventArgs.Empty

Constructors

Create args with conflicting file name, proposed new name, and existing attachment names.

C#
public DuplicatedEmbeddedFileNameResolvingEventArgs(string name, string newName, IEnumerable<string> usedNames)
Parameters:namestring

The current name of the embedded file.

newNamestring

The new name of the embedded file.

usedNamesIEnumerable<string>

The names that are currently used in the EmbeddedFiles.

Properties

The conflicting original embedded file name.

C#
public string Name { get; }
Property Value:

The name.

Proposed unique embedded file name (handler may change).

C#
public string NewName { get; set; }
Property Value:

The new name.

Existing embedded file names for collision checks.

C#
public IEnumerable<string> UsedNames { get; }
Property Value:

The used names.