.NET Framework Class Library
NeutralFormat.MDSetPageRange Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > NeutralFormat Class > NeutralFormat Methods > .NET Framework Class Library |
Sets the page range to be used for the subsequent operations on the Master Drawing identified with the handler mdid.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub MDSetPageRange ( _ mdid As Integer, _ |
C# |
|---|
public void MDSetPageRange( int mdid, |
Visual C++ |
|---|
public: void MDSetPageRange( |
JavaScript |
|---|
function mdSetPageRange(mdid, page1, page2); |
Parameters
mdid
Type: System.Int32
Master Drawing handler
page1
Type: System.Int32
first page of the range (1 = first page)
page2
Type: System.Int32
last page of the range
Remarks
Set the page1 and page2 values as follows to obtain described pages range:
Page range |
page1 |
page2 |
|---|---|---|
Every page |
0 |
0 |
Every odd page |
-1 |
-1 |
Every even page |
-2 |
-2 |
First page |
1 |
1 |
Last page |
-3 |
-3 |
Your own page range |
3 |
4 |
See Also