Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ActivePage Property
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : ActivePage Property




Specifies the index of the page that to be drawn.

Syntax

Visual Basic (Declaration) 
Public Property ActivePage As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim value As Integer
 
instance.ActivePage = value
 
value = instance.ActivePage
C# 
public int ActivePage {get; set;}
Managed Extensions for C++ 
public: __property int get_ActivePage();
public: __property void set_ActivePage( 
   int value
);
C++/CLI 
public:
property int ActivePage {
   int get();
   void set (int value);
}

Return Value

The index of the page that is to be drawn. This index is zero-based.

Example

Refer to DrawPage example.

Remarks

You should set this property before drawing a page using DrawPage.
For more information, refer to Drawing Pages and Zones.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features