Klasse UpBars - positiven Abweichungen (Word VBA)
Die Klasse UpBars stellt die positiven Abweichungen in einer Diagrammgruppe dar. Um eine UpBars -Klassenvariable zu verwenden, muss sie zuerst instanziert werden, beispielsweise
Dim ubs as UpBars
Set ubs = ActiveDocument.Background.Chart.ChartGroups(1).UpBars
Border
Gibt den Rahmen des Objekts zurück.
Dim cbrBorder As ChartBorder
Set cbrBorder = ActiveDocument.Background.Chart.ChartGroups(1).UpBars.Border
Delete
Löscht das Objekt.
ActiveDocument.Background.Chart.ChartGroups(1).UpBars.Delete
Fill
Gibt ein FillFormat -Objekt für das übergeordnete Chart-Element zurück, das die Füll Formatierungseigenschaften für das Diagrammelement enthält.
Dim As Variant
ActiveDocument.Background.Chart.ChartGroups(1).UpBars.Fill
Format
Gibt die Linien-, Füll- und effektformatierung für das Objekt.
Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveDocument.Background.Chart.ChartGroups(1).UpBars.Format
GetProperty
GetProperty (ID)
Interior
Gibt den Innenbereich des Objekts zurück.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
With .Chart.ChartGroups(1)
.HasUpDownBars = True
.DownBars.Interior.ColorIndex = 3
.UpBars.Interior.ColorIndex = 4
End With
End If
End With
Name
Gibt den Namen des Objekts zurück.
Dim strName As String
strName = ActiveDocument.Background.Chart.ChartGroups(1).UpBars.Name
Select
Markiert das Objekt.
ActiveDocument.Background.Chart.ChartGroups(1).UpBars.Select
SetProperty
Dim strID As String: strID =
ActiveDocument.Background.Chart.ChartGroups(1).UpBars.SetProperty ID:=strID, Value:=
Arguments
Hier sind die benannte Argumente :
ID - String
Value