|
Documentation
|
#include <Page.h>
Public Member Functions | |
| Page (FileFormat^ fileFmt, int iPageNum) | |
| Constructor of a class. More... | |
| void | RotateFlip (RotateFlipType) |
| Use to rotate or flip the page. More... | |
| void | Draw (System::Drawing::Graphics^ g, int x, int y) |
| Use to draw page. More... | |
| void | Draw (System::Drawing::Graphics^ g, float x, float y, float width, float height) |
| bool | UpdateImage (array< Byte >^imgData) |
Protected Member Functions | |
| System::Drawing::Image^ | LoadImage (int iHeight, int iWidth, int iBitDepth, array< Byte >^pixelData, array< Byte >^clrTable) |
Protected Attributes | |
| FileFormat^ | m_fileformat |
| int | m_iPageNum |
| System::Drawing::Bitmap^ | m_Bmp |
| Object^ | m_Tag |
Properties | |
| int | Width [get] |
| Use to get width of page. | |
| int | Height [get] |
| Use to get Height of page. | |
| int | BitDepth [get] |
| Use to get BitDepth of page. | |
| array< System::Drawing::Color >^ | ColorTable [get] |
| Use to get ColorTable of page. | |
| array< Byte >^ | RawPixelData [get] |
| Use to get RawPixelData of page. | |
| int | VerticalResolution [get] |
| Use to get VerticalResolution of page. | |
| int | HorizontalResolution [get] |
| Use to get HorizontalResolution of page. | |
| System::Drawing::Image^ | Image [get] |
| Use to get Image of page. | |
| Object^ | Tag [get, set] |
| Use to get Tag of page. | |
| System::Drawing::Image^ | ScaledImage[float, float] [get] |
| PAGEINFO | PageInfo [get] |
| Use to get PageInfo of page. | |
This class is use to get information about documents page.
| MST::Imaging::Page::Page | ( | FileFormat^ | fileFmt, |
| int | iPageNum | ||
| ) |
Constructor of a class.
| fileFmt | FileFormat of page's document. |
| iPageNum | Page number of the document. |
| void MST::Imaging::Page::Draw | ( | System::Drawing::Graphics^ | g, |
| int | x, | ||
| int | y | ||
| ) |
Use to draw page.
| g | Graphics which is used to draw page. |
| x | The x-coordinate of the upper-left corner of the drawn image. |
| y | The y-coordinate of the upper-left corner of the drawn image. |
| g | Graphics which is used to draw page. |
| x | The x-coordinate of the upper-left corner of the drawn image. |
| y | The y-coordinate of the upper-left corner of the drawn image. |
| width | Width of the drawn image.. |
| height | Height of the drawn image.. |
| void MST::Imaging::Page::RotateFlip | ( | RotateFlipType | ) |
Use to rotate or flip the page.
| fType | Operation that will be perform on page. |