/// <summary>
 /// Copies values from another object
 /// </summary>
 /// <param name="otherSettings"></param>
 public void CopyFrom(IAppleEPub2PlatformSettings otherSettings)
 {
     if (otherSettings == null)
     {
         throw new ArgumentNullException("otherSettings");
     }
     if (otherSettings == this)
     {
         return;
     }
     _useCustomFonts  = otherSettings.UseCustomFonts;
     _openToSpread    = otherSettings.OpenToSpread;
     _targetPlatform  = otherSettings.Name;
     _orientationLock = otherSettings.OrientationLock;
     _fixedLayout     = otherSettings.FixedLayout;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Copies values from another object
 /// </summary>
 /// <param name="otherSettings"></param>
 public void CopyFrom(IAppleEPub2PlatformSettings otherSettings)
 {
     if (otherSettings == null)
     {
         throw new ArgumentNullException("otherSettings");
     }
     if (otherSettings == this)
     {
         return;
     }
     _useCustomFonts = otherSettings.UseCustomFonts;
     _openToSpread = otherSettings.OpenToSpread;
     _targetPlatform = otherSettings.Name;
     _orientationLock = otherSettings.OrientationLock;
     _fixedLayout = otherSettings.FixedLayout;
 }