GrapeCity.Win.MultiRow Namespace > GcMultiRow Class : GetHorizontalViewportCount Method |
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Public Function GetHorizontalViewportCount() As Integer
Dim instance As GcMultiRow Dim value As Integer value = instance.GetHorizontalViewportCount()
[EditorBrowsable(EditorBrowsableState.Advanced)] public int GetHorizontalViewportCount()
void getViewportInfoButton_Click(object sender, EventArgs e) { string viewportInfo = "Vertical viewport count: " + this.gcMultiRow1.GetVerticalViewportCount(); viewportInfo += "\r\n"; viewportInfo += "Horizontal viewport count: " + this.gcMultiRow1.GetHorizontalViewportCount(); MessageBox.Show(viewportInfo); }
Private Sub getViewportInfoButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles getViewportInfoButton.Click Dim viewportInfo As String = "Vertical viewport count: " + Me.gcMultiRow1.GetVerticalViewportCount().ToString() viewportInfo += vbCr & vbLf viewportInfo += "Horizontal viewport count: " + Me.gcMultiRow1.GetHorizontalViewportCount().ToString() MessageBox.Show(viewportInfo) End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2