Diagram.GridSize Property
Gets or sets 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
Public Overrides Property GridSize As Double
'Usage
Dim instance As Diagram
Dim value As Double
value = instance.GridSize
instance.GridSize = value
public override double GridSize { get; set; }
public:
virtual property double GridSize {
double get () override;
void set (double value) override;
}
public override function get GridSize () : double
public override function set GridSize (value : double)
Property Value
Type: System.Double
The size of the grid for the diagram.
Remarks
The grid size for each child shape uses the grid size of its parent shape. You can override this behavior to use a custom grid size for a child shape.
.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.