Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting both size and shape color #82

Open
dennis-yemelyanov opened this issue May 2, 2018 · 0 comments
Open

Setting both size and shape color #82

dennis-yemelyanov opened this issue May 2, 2018 · 0 comments

Comments

@dennis-yemelyanov
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant