Set the Layout property to FixedNumber.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# | 
|---|
public void SetLayoutFixedNumber( int number, SpacingRuleJustification just, double gridlinesRotation, double offset )  | 
| Visual Basic | 
|---|
Public Sub SetLayoutFixedNumber ( _ number As Integer, _ just As SpacingRuleJustification, _ gridlinesRotation As Double, _ offset As Double _ )  | 
| Visual C++ | 
|---|
public: void SetLayoutFixedNumber( int number, SpacingRuleJustification just, double gridlinesRotation, double offset )  | 
Parameters
- number
 - Type: System..::..Int32
 
- gridlinesRotation
 - Type: System..::..Double
 
- offset
 - Type: System..::..Double
 
Remarks
When changing the Layout to FixedNumber,
you must also simultaneously set the Number,
Justification, GridlinesRotation, and Offset properties.