public ReportSize ChangeType(SizeTypes type)
 {
     if (type == this.m_type)
     {
         return(this);
     }
     return(new ReportSize(ReportSize.ConvertToUnits(this.ConvertToPixels(this.m_value, this.m_type), type), type));
 }
 public static ReportSize FromPixels(double pixels, SizeTypes type)
 {
     return(new ReportSize(ReportSize.ConvertToUnits(pixels, type), type));
 }
 public void SetPixels(double pixels)
 {
     this.m_value = ReportSize.ConvertToUnits(pixels, this.m_type);
 }