Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns or sets an MsoLineDashStyle constant indicating the dash style for the specified line. Read/write.
Syntax
expression.DashStyle
expression A variable that represents a LineFormat object.
Return value
MsoLineDashStyle
Remarks
The DashStyle property value can be one of the MsoLineDashStyle constants declared in the Microsoft Office type library.
Example
This example adds a blue dashed line to the active publication.
With ActiveDocument.Pages(1).Shapes _
.AddLine(BeginX:=10, BeginY:=10, _
EndX:=250, EndY:=250).Line
.DashStyle = msoLineDashDotDot
.ForeColor.RGB = RGB(50, 0, 128)
End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.