Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ButtonInterior Property

Office 2003

Returns a ChInterior object that represents the interior of each button in the specified drop zone. Use the properties of the returned ChInterior object to format the interior of each button in the drop zone.

expression.ButtonInterior

expression    Required. An expression that returns a ChDropZone property.

Remarks

By default, the chart control uses the color setting specified for 3D Objects on the Appearance tab of the Display Control Panel as the interior color for drop zone buttons.

Example

This example formats the button and the watermark of the series drop zone in Chartspace1.

Sub SetupDropZone()

    Dim dzSeriesDropZone
    Dim ChConstants

    Set chConstants = Chartspace1.Constants

    ' Set a variable to the series drop zone in Chartspace1.
    Set dzSeriesDropZone = ChartSpace1.DropZones(chConstants.chDropZoneSeries)

    ' The next three lines of code format the button of the drop zone.
    dzSeriesDropZone.ButtonBorder.Weight = chConstants.owcLineWeightMedium
    dzSeriesDropZone.ButtonInterior.SetSolid "Red"
    dzSeriesDropZone.ButtonFont.Size = 14

    ' The next three lines of code format the watermark of the drop zone.
    dzSeriesDropZone.WatermarkBorder.Color = "Red"
    dzSeriesDropZone.WatermarkFont.Color = "Red"
    dzSeriesDropZone.WatermarkInterior.SetSolid "Green"

End Sub

		


Applies to | ChDropZone Object



Show:
© 2015 Microsoft