DashStyle in Shapes

Hi!,

I don´t know the equivalences of these enums (LineStyles and LineTypes) with Aspose.Words:

For instance…

WORD object>> shape.Line.DashStyle = MsoLineDashStyle.msoLineSolid;
Aspose object>> shape.Stroke.DashStyle = DashStyle.Solid;

Start…

WORD object>> shape.Line.DashStyle = MsoLineDashStyle.msoLineDashStyleMixed;
Aspose object>> shape.Stroke.DashStyle = ¿¿¿¿WHAT?????;
WORD object>> shape.Line.DashStyle = MsoLineDashStyle.msoLineRoundDot;
Aspose object>> shape.Stroke.DashStyle = ¿¿¿¿WHAT?????;
WORD object>> shape.Line.DashStyle = MsoLineDashStyle.msoLineSquareDot;
Aspose object>> shape.Stroke.DashStyle = ¿¿¿¿WHAT?????;
WORD object>> shape.Line.Style = MsoLineStyle.msoLineThickBetweenThin;
Aspose object>> shape.Stroke.LineStyle = ¿¿¿¿is ShapeLineStyle.Triple?????;
WORD object>> shape.Line.Style = MsoLineStyle.msoLineThinThin;
Aspose object>> shape.Stroke.LineStyle = ¿¿¿¿WHAT?????;

Thanks for help me!!!

best regards

Hi

Thanks for your request. Here you can find more information about these enums:

Here are tables of equivalents:

MsoLineDashStyle Aspose equivalent MS Description
msoLineDash Aspose.Words.Drawing.DashStyle.Dash Line consists of dashes only.
msoLineDashDot Aspose.Words.Drawing.DashStyle.DashDot Line is a dash-dot pattern.
msoLineDashDotDot Aspose.Words.Drawing.DashStyle.ShortDashDotDot Line is a dash-dot-dot pattern.
msoLineDashStyleMixed Not supported.
msoLineLongDash Aspose.Words.Drawing.DashStyle.LongDash Line consists of long dashes.
msoLineLongDashDot Aspose.Words.Drawing.DashStyle.LongDashDot Line is a long dash-dot pattern.
msoLineRoundDot Aspose.Words.Drawing.DashStyle.ShortDot Line is made up of round dots.
msoLineSolid Aspose.Words.Drawing.DashStyle.Solid Line is solid.
msoLineSquareDot Aspose.Words.Drawing.DashStyle.Dot Line is made up of square dots.
MsoLineStyle Aspose equivalent MS Description
msoLineSingle Aspose.Words.LineStyle.Single Single line.
msoLineStyleMixed Not supported.
msoLineThickBetweenThin Aspose.Words.LineStyle.ThinThickThinSmallGap Thick line with a thin line on each side.
msoLineThickThin Aspose.Words.LineStyle.ThickThinSmallGap Thick line next to thin line. For horizontal lines, thick line is above thin line. For vertical lines, thick line is to the left of the thin line.
msoLineThinThick Aspose.Words.LineStyle.Single Thick line next to thin line. For horizontal lines, thick line is below thin line. For vertical lines, thick line is to the right of the thin line.
msoLineThinThin Aspose.Words.LineStyle.Double Two thin lines.
Hope this helps.

Best regards.