Visual Basic (Declaration) | |
---|---|
Overloads Public Sub DrawPage( _ ByVal graphics As Graphics, _ ByVal pageIndex As Integer, _ ByVal src As Rectangle, _ ByVal srcClip As Rectangle, _ ByVal dest As Rectangle, _ ByVal destClip As Rectangle, _ ByVal paintProperties As RasterPaintProperties _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void DrawPage( Graphics graphics, int pageIndex, Rectangle src, Rectangle srcClip, Rectangle dest, Rectangle destClip, RasterPaintProperties paintProperties ) |
Managed Extensions for C++ | |
---|---|
public: void DrawPage( Graphics graphics, int pageIndex, Rectangle src, Rectangle srcClip, Rectangle dest, Rectangle destClip, RasterPaintProperties paintProperties ) |
C++/CLI | |
---|---|
public: void DrawPage( Graphics graphics, int pageIndex, Rectangle src, Rectangle srcClip, Rectangle dest, Rectangle destClip, RasterPaintProperties paintProperties ) |
Parameters
- graphics
- Graphics object specified the device that contains the drawing.
- pageIndex
- Specifies the index of the page to be drawn. This index is zero-based.
- src
- The coordinates for the source drawing area
- srcClip
- The coordinates for the source clipping drawing area
- dest
- The coordinates for the destination drawing area
- destClip
- The coordinates for the destination clipping drawing area
- paintProperties
- Gets or sets the RasterPaintProperties which control the display
Visual Basic | Copy Code |
---|---|
Public Sub DrawPageExample(ByVal graph As Graphics) |
C# | Copy Code |
---|---|
public void DrawPageExample(Graphics graph) |
Before calling this method, you must specify the active page to be drawn using the ActivePage property.
If the ActivePage property is not set, then this method will fail.
For more information, refer to Drawing Pages and Zones.
For more information, refer to Drawing Pages and Zones.
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
Reference
RasterDocumentEngine ClassRasterDocumentEngine Members
Overload List
AddZone Method
UpdateZone Method
SelectZoneByPoint(Graphics,Int32,Point) Method
SelectZone(Graphics,Int32,Int32,Boolean) Method
RemoveSelectedZone Method
UpdateZoneArea Method
GetSelectedZoneData Method
SelectedZoneIndex Property
ActivePage Property