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)
Syntax
'Declaração
Public Overrides ReadOnly Property DefaultSize As SizeD
Get
public override SizeD DefaultSize { get; }
public:
virtual property SizeD DefaultSize {
SizeD get () override;
}
abstract DefaultSize : SizeD
override DefaultSize : SizeD
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.