.NET Framework Class Library
Browser.SetDocPageSplitterPosition Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Browser Class > Browser Methods >

.NET Framework Class Library
Browser.SetDocPageSplitterPosition Method

Set the position of splitters in Documents Page.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub SetDocPageSplitterPosition ( _

 splitterId As String, _
 x As Double, _
 y As Double _
)

C#

public void SetDocPageSplitterPosition(

 string splitterId,
 double x,
 double y
)

Visual C++

public:

void SetDocPageSplitterPosition(
 StringsplitterId,
 double x,
 double y
)

JavaScript

function setDocPageSplitterPosition(splitterIdxy);

Parameters

splitterId

Type: System.String
It's the name of the splitter to be set. Valid values are:

o0 - for splitter between project grid and assembly grid

oA - for assembly grid

oP - for part grid

oD - for drawing grid

oC - for 'composed of' grid

oU - for 'used by' grid

oAPPLY - this is a special value for the parameter that performs the refresh of the browser window.

x

Type: System.Double
relative measure of the grid width in a 0-1 interval.

y

Type: System.Double
relative measure of the grid height in a 0-1 interval.

Remarks

When APPLY value is used for the splitterId param, x and y params are not considered.

It's advisable to use it once you've finished with splitters setting.

DBWorks browser must be open.

See Also

Browser Class

Browser Members

MwPDMApi Namespace