.NET Framework Class Library
Browser.SetGridParameter Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Browser Class > Browser Methods > .NET Framework Class Library |
Set parameters for a specified grid.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub SetGridParameter ( _ gridName As String, _ |
C# |
|---|
public void SetGridParameter( string gridName, |
Visual C++ |
|---|
public: void SetGridParameter( |
JavaScript |
|---|
function setGridParameter(gridName, parName, par1, par2); |
Parameters
gridName
Type: System.String
It's the name of the grid to set parameter for. Valid values for grid_name are:
oA - for assembly grid
oP - for part grid
oD - for drawing grid
oG - for generic grid
oC - for 'composed of' grid
oU - for 'used by' grid
parName
Type: System.String
name of the parameter to set. Available parameters are:
oZOOM_FACTOR -
oROW_HEIGHT -
oCOL_WIDTH -
par1
Type: System.Object
first value of the parameter to set.
par2 (Optional)
Type: System.Object
second value of the parameter to set.
Remarks
DBWorks browser must be open.
See Also