예제 #1
0
 ///<summary>Currently only used for page numbers.</summary>
 public ReportObject(string name, AreaSectionType sectionType, Point location, Size size, FieldValueType fieldValueType, SpecialFieldType specialType, Font font, ContentAlignment contentAlignment, string stringFormat)
 {
     _name             = name;
     _sectionType      = sectionType;
     _location         = location;
     _size             = size;
     _font             = font;
     _contentAlignment = contentAlignment;
     _stringFormat     = stringFormat;
     _fieldDefKind     = FieldDefKind.SpecialField;
     _fieldValueType   = fieldValueType;
     _specialFieldType = specialType;
     //defaults:
     _foreColor        = Color.Black;
     _reportObjectType = ReportObjectType.FieldObject;
 }
예제 #2
0
 ///<summary>Overload for SpecialField ReportObject</summary>
 public ReportObject(string thisSectionName, Point thisLocation, Size thisSize
                     , FieldValueType thisValueType, SpecialFieldType thisSpecialType
                     , Font thisFont, ContentAlignment thisTextAlign, string thisFormatString)
 {
     sectionName  = thisSectionName;
     location     = thisLocation;
     size         = thisSize;
     font         = thisFont;
     textAlign    = thisTextAlign;
     formatString = thisFormatString;
     fieldKind    = FieldDefKind.SpecialField;
     valueType    = thisValueType;
     specialType  = thisSpecialType;
     //defaults:
     foreColor  = Color.Black;
     objectKind = ReportObjectKind.FieldObject;
 }
예제 #3
0
파일: ReportObject.cs 프로젝트: mnisl/OD
		///<summary>Overload for SpecialField ReportObject</summary>
		public ReportObject(string name,string sectionName,Point location,Size size,FieldValueType fieldValueType,SpecialFieldType specialType,Font font,ContentAlignment contentAlignment,string stringFormat) {
			_name=name;
			_sectionName=sectionName;
			_location=location;
			_size=size;
			_font=font;
			_contentAlignment=contentAlignment;
			_stringFormat=stringFormat;
			_fieldDefKind=FieldDefKind.SpecialField;
			_fieldValueType=fieldValueType;
			_specialFieldType=specialType;
			//defaults:
			_foreColor=Color.Black;
			_reportObjectKind=ReportObjectKind.FieldObject;
		}
예제 #4
0
        ///<summary>Overload for SpecialField ReportObject</summary>
        public ReportObject(string thisSectionName,Point thisLocation,Size thisSize
			,FieldValueType thisValueType,SpecialFieldType thisSpecialType
			,Font thisFont,ContentAlignment thisTextAlign,string thisFormatString)
        {
            sectionName=thisSectionName;
            location=thisLocation;
            size=thisSize;
            font=thisFont;
            textAlign=thisTextAlign;
            formatString=thisFormatString;
            fieldKind=FieldDefKind.SpecialField;
            valueType=thisValueType;
            specialType=thisSpecialType;
            //defaults:
            foreColor=Color.Black;
            objectKind=ReportObjectKind.FieldObject;
        }