Share via


Diagram.DefaultSize Property

Gets the size of the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property DefaultSize As SizeD
public override SizeD DefaultSize { get; }
public:
virtual property SizeD DefaultSize {
    SizeD get () override;
}
abstract DefaultSize : SizeD with get 
override DefaultSize : SizeD with get
override function get DefaultSize () : SizeD

Property Value

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

Remarks

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

Examples

public override DslDiagrams::SizeD DefaultSize
{
get
{
return new DslDiagrams::SizeD(0.15, 7);
}
}

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace