Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.v4.4 Assembly / Xceed.Chart Namespace / ChartControl Class / GetControlViewport Method


In This Topic
    GetControlViewport Method (ChartControl)
    In This Topic
    Returns the viewport of the control.
    Syntax
    'Declaration
     
    Public Function GetControlViewport() As RectangleF
    'Usage
     
    Dim instance As ChartControl
    Dim value As RectangleF
     
    value = instance.GetControlViewport()
    public RectangleF GetControlViewport()
    Remarks
    The control viewport is the area of the control where all chart elements are drawn. It's usually smaller than the control client rectangle because of the applied border (standard or image).
    Requirements

    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

    See Also