private GetCommonFieldFormat ( string reportObjectName, ReportDocument report ) : CommonFieldFormat | ||
reportObjectName | string | |
report | ReportDocument | |
return | CommonFieldFormat |
private CommonFieldFormat GetCommonFieldFormat(string reportObjectName, ReportDocument report)
{
FieldObject field = report.ReportDefinition.ReportObjects[reportObjectName] as FieldObject;
if (field != null)
{
return field.FieldFormat.CommonFormat;
}
return null;
}