internal override void CopyPropertiesTo(FormatBase destFormat) { MarginsF sf = destFormat as MarginsF; if (base.HasKey(1)) { sf.Left = this.Left; } if (base.HasKey(2)) { sf.Right = this.Right; } if (base.HasKey(4)) { sf.Bottom = this.Bottom; } if (base.HasKey(3)) { sf.Top = this.Top; } if (base.HasKey(5)) { sf.Gutter = this.Gutter; } }
internal void method_49(MarginsF A_0) { if (!A_0.IsDefault) { this.Left = A_0.Left; this.Bottom = A_0.Bottom; this.Right = A_0.Right; this.Top = A_0.Top; this.Gutter = A_0.Gutter; } }