Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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.