Diagram.DefaultSize Property
Gets the size of the diagram.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property DefaultSize As SizeD
'Usage
Dim instance As Diagram
Dim value As SizeD
value = instance.DefaultSize
public override SizeD DefaultSize { get; }
public:
virtual property SizeD DefaultSize {
SizeD get () override;
}
public 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.