ShapeElement.DefaultSize Property
Gets the default size of the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property DefaultSize As SizeD
'Usage
Dim instance As ShapeElement
Dim value As SizeD
value = instance.DefaultSize
public virtual SizeD DefaultSize { get; }
public:
virtual property SizeD DefaultSize {
SizeD get ();
}
public function get DefaultSize () : SizeD
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The default size of the shape.
Remarks
The base class behavior is to have default size of a ShapeElement be its minimum size.
.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.