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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.