Example #1
0
 private void method_58(Spire.Doc.Documents.Borders A_0)
 {
     this.Borders.Left.BorderType   = A_0.Left.BorderType;
     this.Borders.Left.Color        = A_0.Left.Color;
     this.Borders.Left.IsDefault    = A_0.Left.IsDefault;
     this.Borders.Left.LineWidth    = A_0.Left.LineWidth;
     this.Borders.Left.Shadow       = A_0.Left.Shadow;
     this.Borders.Left.Space        = A_0.Left.Space;
     this.Borders.Right.BorderType  = A_0.Right.BorderType;
     this.Borders.Right.Color       = A_0.Right.Color;
     this.Borders.Right.IsDefault   = A_0.Right.IsDefault;
     this.Borders.Right.LineWidth   = A_0.Right.LineWidth;
     this.Borders.Right.Shadow      = A_0.Right.Shadow;
     this.Borders.Right.Space       = A_0.Right.Space;
     this.Borders.Top.BorderType    = A_0.Top.BorderType;
     this.Borders.Top.Color         = A_0.Top.Color;
     this.Borders.Top.IsDefault     = A_0.Top.IsDefault;
     this.Borders.Top.LineWidth     = A_0.Top.LineWidth;
     this.Borders.Top.Shadow        = A_0.Top.Shadow;
     this.Borders.Top.Space         = A_0.Top.Space;
     this.Borders.Bottom.BorderType = A_0.Bottom.BorderType;
     this.Borders.Bottom.Color      = A_0.Bottom.Color;
     this.Borders.Bottom.IsDefault  = A_0.Bottom.IsDefault;
     this.Borders.Bottom.LineWidth  = A_0.Bottom.LineWidth;
     this.Borders.Bottom.Shadow     = A_0.Bottom.Shadow;
     this.Borders.Bottom.Space      = A_0.Bottom.Space;
 }
Example #2
0
        internal override void CopyPropertiesTo(FormatBase destFormat)
        {
            Borders borders = destFormat as Borders;

            if (base.HasKey(1))
            {
                this.Left.CopyPropertiesTo(borders.Left);
            }
            if (base.HasKey(4))
            {
                this.Right.CopyPropertiesTo(borders.Right);
            }
            if (base.HasKey(2))
            {
                this.Top.CopyPropertiesTo(borders.Top);
            }
            if (base.HasKey(3))
            {
                this.Bottom.CopyPropertiesTo(borders.Bottom);
            }
            if (base.HasKey(5))
            {
                this.Vertical.CopyPropertiesTo(borders.Vertical);
            }
            if (base.HasKey(6))
            {
                this.Horizontal.CopyPropertiesTo(borders.Horizontal);
            }
            if (base.HasKey(7))
            {
                this.DiagonalDown.CopyPropertiesTo(borders.DiagonalDown);
            }
            if (base.HasKey(8))
            {
                this.DiagonalUp.CopyPropertiesTo(borders.DiagonalUp);
            }
        }
Example #3
0
 internal PageSetup(Section A_0) : base(A_0.Document, A_0)
 {
     this.borders_0 = new Spire.Doc.Documents.Borders();
 }