Skip to content

Setting both size and shape color #82

@dennis-yemelyanov

Description

@dennis-yemelyanov

When both Size and Cells are set, the size value doesn't seem to take any effect.

VisioAutomation.Models.Layouts.DirectedGraph.Shape shape = AddShape();
shape.Size = new Size(1.25, 0.25);
shape.Cells = new VisioAutomation.Models.Dom.ShapeCells();
shape.Cells.FillForeground = "rgb(0,255,0)";
shape.Cells.FillPattern = 1;

The resulting shape has default size (2.25, 1.5) instead of the specified size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions