This topic has not yet been rated - Rate this topic

Diagram.DefaultSize Property

Gets the size of the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public override SizeD DefaultSize { get; }

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The size of the diagram.

By default, the minimum size of the diagram is returned.

public override DslDiagrams::SizeD DefaultSize
{
get
{
return new DslDiagrams::SizeD(0.15, 7);
}
}
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ