Diagram.DefaultGridSize Property
Gets the size of the grid for the diagram.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property DefaultGridSize As Double
'Usage
Dim instance As Diagram
Dim value As Double
value = instance.DefaultGridSize
[BrowsableAttribute(false)]
public virtual double DefaultGridSize { get; }
[BrowsableAttribute(false)]
public:
virtual property double DefaultGridSize {
double get ();
}
public function get DefaultGridSize () : double
Property Value
Type: System.Double
The size of the grid for the diagram.
Examples
public override double DefaultGridSize
{
get
{
return 0.01;
}
}
.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.