Autodesk.AutoCAD.DatabaseServices Namespace > Table Class > Table Methods > SetGridProperty Method > SetGridProperty(CellRange, Autodesk.AutoCAD.DatabaseServices.GridLineType, GridPropertyParameter) Method
Table.SetGridProperty(CellRange, Autodesk.AutoCAD.DatabaseServices.GridLineType, GridPropertyParameter) Method
Description

Sets the grid line properties of cells, rows, or columns in a range of cells. 

The range can be a cell range, row range, or column range to set the properties in cells, rows, or columns.

Visual Basic
Public virtual Function SetGridProperty(
    rangeIn As CellRange, 
    gridLineTypes As Autodesk.AutoCAD.DatabaseServices.GridLineType, 
    gridProp As GridPropertyParameter
) As void
C#
public virtual void SetGridProperty(
    CellRange rangeIn, 
    Autodesk.AutoCAD.DatabaseServices.GridLineType gridLineTypes, 
    GridPropertyParameter gridProp
);
Parameters
Parameters 
Description 
CellRange rangeIn 
Input cell range, row range, or column range. 
Autodesk.AutoCAD.DatabaseServices.GridLineType gridLineTypes 
Input grid line types. Multiple grid line types can be combined using OR. 
GridPropertyParameter gridProp 
Input grid line properties to set. 
Links
   Comments?