设置字段的高度和位置或节的高度 [英] Set height and position of a field or the height of a section
问题描述
您好,
如何在Crystal Reports for Visual Studio 2010中设置字段的高度和位置或部分的高度?我知道,在Crystal Reports Release 2008中,有一个字段的上下文菜单选项,名称大小和位置(德语:
" Grö sse und Position")。
或者我可以在运行时调整一个部分吗?
谢谢
彼得
Peter.sx
objRpt.ReportDefinition.Sections(< SECTION_NAME>)。身高= 1024
objRpt.ReportDefinition.ReportObjects(< OBJECT_NAME>)。高度= 100
objRpt.ReportDefinition.ReportObjects(< OBJECT_NAME>)。宽度= 100
objRpt.ReportDefinition.ReportObjects(< OBJECT_NAME>)。Top = 100
objRpt.ReportDefinition.ReportObjects(< OBJECT_NAME>)。左= 100
这种方式可以设置。 objRpt是CR的对象。
Hello,
how can I set height and position of a field or the height of a section in Crystal Reports for Visual Studio 2010? I knew, that in Crystal Reports Release 2008 there is a option of the context menu of a field, that is named size and position (in German: "Grösse und Position").
Or can I resize a section at runtime?
Thanks
Peter
Hi Peter.sx
objRpt.ReportDefinition.Sections(<SECTION_NAME>).Height = 1024
objRpt.ReportDefinition.ReportObjects(<OBJECT_NAME>).Height = 100
objRpt.ReportDefinition.ReportObjects(<OBJECT_NAME>).Width = 100
objRpt.ReportDefinition.ReportObjects(<OBJECT_NAME>).Top = 100
objRpt.ReportDefinition.ReportObjects(<OBJECT_NAME>).Left = 100
This Way You Can Set. objRpt is the Object of CR.
这篇关于设置字段的高度和位置或节的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!