• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class CloneContext

Maintains source-to-destination mappings while slides are cloned between presentations. The mappings allow internal slide hyperlinks to be rewritten to the corresponding destination slides.

Inheritance
object
CloneContext
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public sealed class CloneContext

Methods

Create(Presentation, Presentation)

Creates a clone context for a source and destination presentation pair.

Declaration
public static CloneContext Create(Presentation sourcePresentation, Presentation destinationPresentation)
Parameters
Type Name Description
Presentation sourcePresentation

The presentation containing slides to clone.

Presentation destinationPresentation

The presentation receiving cloned slides.

Returns
Type Description
CloneContext

A context that can be passed to clone operations.

Set(Slide, Slide)

Associates a source slide with an existing destination slide. This mapping is used to resolve internal slide hyperlinks while later slides are cloned.

Declaration
public void Set(Slide source, Slide destination)
Parameters
Type Name Description
Slide source

The source presentation slide.

Slide destination

The destination presentation slide.

TryGet(Slide, out Slide)

Gets the destination slide mapped to source.

Declaration
public bool TryGet(Slide source, out Slide destination)
Parameters
Type Name Description
Slide source

The source presentation slide.

Slide destination

The mapped destination slide, if present.

Returns
Type Description
bool

true when a mapping exists; otherwise, false.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX