|
using System;
using System.Collections.Generic;
using System.Text;
namespace RdlRender
{
public class BorderWidth
{
public RdlEngine.Size Left;
public RdlEngine.Size Right;
public RdlEngine.Size Top;
public RdlEngine.Size Bottom;
public BorderWidth(RdlEngine.BorderWidth b)
{
Left = b.Left;
Right = b.Right;
Top = b.Top;
Bottom = b.Bottom;
}
public override bool Equals(object obj)
{
if (!(obj is BorderWidth))
return false;
BorderWidth b = obj as BorderWidth;
return (Left == b.Left &&
Right == b.Right &&
Top == b.Top &&
Bottom == b.Bottom);
}
public override int GetHashCode()
{
return base.GetHashCode();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been a professional software developer for 25+ years, most of it supporting the business community of Maine. I have been working with MS dotnet since 1.0 beta. I organized Sawiki Software LLC as an outlet for some open source software that I have been working on.