Gets the size of the grid for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Property GridSize As Double
'使用
Dim instance As ShapeElement
Dim value As Double
value = instance.GridSize
instance.GridSize = value
public virtual double GridSize { get; set; }
public:
virtual property double GridSize {
double get ();
void set (double value);
}
public function get GridSize () : double
public function set GridSize (value : double)
Property Value
Type: System.Double
The size of the grid for the shape.
Remarks
By default, the grid size for the parent shape is used.
Permissions
- 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.