Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDViewPortControlBaseMBS class.

CDViewPortControlBaseMBS.Chart as CDBaseChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The BaseChart object to be displayed in the viewport control.

(Read and Write property)

CDViewPortControlBaseMBS.ClickToCenter as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Enables or disables centering the viewport at the clicked point.

True to enable the behaviour, false to disable it.
(Read and Write property)

CDViewPortControlBaseMBS.CornerMargin as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The corner margin.

See setMouseMargin.
(Read and Write property)

CDViewPortControlBaseMBS.Cursor as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the mouse cursor to be used for user feedback.

Returns kLeft, kRight, kTop or kBottom if the mouse can initiate dragging the corresponding side of the viewport. Returns kTopLeft, kTopRight, kBottomLeft or kBottomRight if the mouse can initiate dragging the corresponding corner of the viewport. Returns kCenter if the mouse is within the viewport.
(Read only property)

CDViewPortControlBaseMBS.DragBorderToResize as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Enables or disables dragging the viewport border to resize it.

True to enable the behaviour, false to disable it.
(Read and Write property)

CDViewPortControlBaseMBS.DragInsideToMove as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Enables or disables dragging inside the viewport to move it.

(Read and Write property)

CDViewPortControlBaseMBS.DragOutsideToSelect as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Enables or disables dragging outside the viewport to select a new viewport.

True to enable the behaviour, false to disable it.
(Read and Write property)

CDViewPortControlBaseMBS.MouseMargin as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The mouse margin.

See setMouseMargin.
(Read and Write property)

CDViewPortControlBaseMBS.needUpdateChart as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Checks if need to update the chart in a viewport changed event.

True if need to update the chart in a viewport changed event, otherwise false.
(Read only property)

Some examples using this property:

CDViewPortControlBaseMBS.needUpdateDisplay as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Checks if need to update the viewport control screen display.

True if need to update the viewport control screen display, otherwise false.
(Read only property)

Some examples using this property:

CDViewPortControlBaseMBS.needUpdateImageMap as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Checks if need to update the image map in a viewport changed event.

True if need to update the image map in a viewport changed event, otherwise false.
(Read only property)

Some examples using this property:

CDViewPortControlBaseMBS.SelectionBorderColor as Color

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the border color of the selection box.

ArgumentDefaultDescription
color(Mandatory)The border color of the selection box. The default is semi-transparent black (&c7F000000).
(Read and Write property)

CDViewPortControlBaseMBS.SelectionBorderWidth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the border width of the selection box.

ArgumentDefaultDescription
width(Mandatory)The border width of the selection box. The default is 1 pixel.
(Read and Write property)

CDViewPortControlBaseMBS.ViewPortBorderColor as Color

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the viewport border color.

ArgumentDefaultDescription
color(Mandatory)The viewport border color. The default is semi-transparent black (&c7F000000).
(Read and Write property)

CDViewPortControlBaseMBS.ViewPortBorderWidth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the viewport border width.

ArgumentDefaultDescription
width(Mandatory)The viewport border width. The default is 1 pixel.
(Read and Write property)

CDViewPortControlBaseMBS.ViewPortExternalColor as Color

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the fill color for the region outside the viewport.

ArgumentDefaultDescription
color(Mandatory)The fill color for the region outside the viewport. The default is semi-transparent white (&c7FFFFFFF) to dim out the region.
(Read and Write property)

CDViewPortControlBaseMBS.ViewPortFillColor as Color

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the fill color for the region inside the viewport.

ArgumentDefaultDescription
color(Mandatory)The fill color for the region inside the viewport. The default is transparent.
(Read and Write property)

CDViewPortControlBaseMBS.ViewPortManager as CDViewPortManagerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ChartDirector MBS ChartDirector Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The ViewPortManager object to be associated with the viewport control.

(Read and Write property)

Some examples using this property:

The items on this page are in the following plugins: MBS ChartDirector Plugin.


The biggest plugin in space...