Faxpage

typedef struct tagFAXPAGE

{

    Tchar                         szFileName[256];

    unsigned int              nPageWidth;

    unsigned int              nPageLength;

    unsigned int              nXmargin;

    unsigned int              nYmargin;

    Tchar                         szTypeFace[128];

    unsigned int              nFontPointSize;              

    unsigned int              nXDPI;

    unsigned int              nYDPI;

    unsigned int              nLineSpace;

    unsigned int              szTabArray[16];

    DWORD                    nFlags;

    LPLOGFONT           lpLogFont;                       

} FAXTOASCII, FAR *LPFAXTOASCII;

Description

The following data structure is used for creating fax pages from ASCII text or to overlay ASCII text on the existing form.

Members of the structure

Tchar

szFileName[256]

The ASCII text file name.

unsigned int

nPageWidth

The page width is defined in 100 of an inch.

8 1/2 inch page should be 850.

unsigned int

nPageLength

The page length is defined in 100 of an inch.

11 inch page should be 1100.

unsigned int

nXmargin

The left and right margin on a page is defined in 100 of an inch. A 1/2 inch margin should be 50. On an 8 1/2 page a half inch margin should leave a 7 1/2 inch client area. Range must be in the page size limits.

unsigned int

nYmargin

The top and bottom margin is defined in 100 of an  inch. A 1/2 inch margin should be 50. On an 8 1/2 page a half inch margin should leave a 7 1/2 inch client area. Range must be in the page size limits.

Tchar

szTypeFace[128]

The type face string.

unsigned int

nFontPointSize

The font size in points. The range should be 6 to 72 points.

unsigned int

nXDPI

Horizontal DPI resolution of bitmap. Range should be 50 - 600 DPI.

unsigned int

nYDPI

Vertical DPI resolution of bitmap. Range should be 50 - 600 DPI.

unsigned int

nLineSpace

Distance between two lines.

unsigned int

szTabArray[16]

The tab stops. Maximum of 15.

DWORD

nFlags

This will be expanded in the future.

 

TEXT_BOLD

- The entire text is bold.

 

TEXT_ITALIC

- The entire text is italic.

 

MEASURE_INCH

- The measurement is in inch (default).

 

MEASURE_METER

- The measurement is in millimeter.

LPLOGFONT

lpLogFont

Pointer to a logical font structure.

Requirements

Header :     Declared in BiTiff.h.