Documentation
 All Classes Functions Variables Properties
MST::Imaging::Page Class Reference

#include <Page.h>

Inheritance diagram for MST::Imaging::Page:
MST::Imaging::MSTPdfPage

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

FileFormatm_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.
 

Detailed Description

This class is use to get information about documents page.

Constructor & Destructor Documentation

MST::Imaging::Page::Page ( FileFormat fileFmt,
int  iPageNum 
)

Constructor of a class.

Parameters
fileFmtFileFormat of page's document.
iPageNumPage number of the document.

Member Function Documentation

void MST::Imaging::Page::Draw ( System::Drawing::Graphics^  g,
int  x,
int  y 
)

Use to draw page.

Parameters
gGraphics which is used to draw page.
xThe x-coordinate of the upper-left corner of the drawn image.
yThe y-coordinate of the upper-left corner of the drawn image.
gGraphics which is used to draw page.
xThe x-coordinate of the upper-left corner of the drawn image.
yThe y-coordinate of the upper-left corner of the drawn image.
widthWidth of the drawn image..
heightHeight of the drawn image..
void MST::Imaging::Page::RotateFlip ( RotateFlipType  )

Use to rotate or flip the page.

Parameters
fTypeOperation that will be perform on page.

The documentation for this class was generated from the following file: