AutoComplete for ASP.NET Web Forms
AvailableHeight プロパティ

C1.C1Report.4 アセンブリ > C1.C1Report 名前空間 > C1Report クラス : AvailableHeight プロパティ
Gets the height of the remaining area available for sections on the current page. This property can only be used while the report is being rendered (i.e. when IsBusy is true), at other times a value of -1 is returned. Note that if used in OnPrint/OnFormat scripts, this value does NOT yet account for the current section.
シンタックス
'宣言
 
Public ReadOnly Property AvailableHeight As System.Double
public System.double AvailableHeight {get;}
解説
Here is an example of code which can be used in the detail section's OnFormat script to determine whether the current detail section will be the last one printed on the page (the test checks that the current section will fit onto the page while the next section won't): h = Detail.RenderHeight ah = Report.AvailableHeight if (h < ah) and (2 * h > ah) then Detail.BackColor = RGB(255, 0, 0) ' last on page else Detail.BackColor = RGB(255, 255, 255) endif
参照

C1Report クラス
C1Report メンバ