Method SetDocumentViewing
SetDocumentViewing(Bitmap, Int32, Int32)
Makes the device show a page of a document.
Declaration
public Error SetDocumentViewing(Bitmap bitmap, int CurpageNo, int MaxpageNo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Bitmap | bitmap | |
| System.Int32 | CurpageNo | |
| System.Int32 | MaxpageNo |
Returns
| Type | Description |
|---|---|
| Error | Error |
Implements
Remarks
The device indicates the page number in the format (pageNumber/numberOfPages).
SetDocumentViewing(Byte[], Int32, Int32)
Declaration
public Error SetDocumentViewing(byte[] image, int CurpageNo, int MaxpageNo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | image | |
| System.Int32 | CurpageNo | |
| System.Int32 | MaxpageNo |
Returns
| Type | Description |
|---|---|
| Error |
SetDocumentViewing(String, Int32, Int32)
Shows an image loaded from a file on the device.
Declaration
public Error SetDocumentViewing(string filepath, int CurpageNo, int MaxpageNo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | filepath | |
| System.Int32 | CurpageNo | |
| System.Int32 | MaxpageNo |
Returns
| Type | Description |
|---|---|
| Error | Error |
Implements
Remarks
Similar to SetDocumentViewing(Bitmap, Int32, Int32) with the difference that the image is loaded from the path given.