共用方式為


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

'宣告
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

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace