Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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

Remarks

You should set this property before drawing a page using RasterDocumentEngine.DrawPage(Graphics,Int32,Rectangle,Rectangle,Rectangle,Rectangle,RasterPaintProperties).
For more information, refer to Drawing Pages and Zones.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.