/// <summary> /// Exports the media to a destination <see cref="Presentation"/> /// </summary> /// <param name="destPres">The destination presentation</param> /// <returns>The exported media</returns> protected override Media ExportProtected(Presentation destPres) { ExternalTextMedia cpETM = (ExternalTextMedia)base.ExportProtected(destPres); cpETM.Src = Src; return(cpETM); }
///<summary> /// ///</summary> ///<returns></returns> protected override Media CopyProtected() { ExternalTextMedia copy = (ExternalTextMedia)base.CopyProtected(); copy.Src = Src; return(copy); }
public override bool ValueEquals(WithPresentation other) { if (!base.ValueEquals(other)) { return(false); } ExternalTextMedia otherz = other as ExternalTextMedia; if (otherz == null) { return(false); } if (Src != otherz.Src) { return(false); } return(true); }