IN_FAX_DOCUMENT structure

Back to: IN_FaxDocumentWindowEx

 

Syntax

#define IN_PHONE_LENGTH 60

typedef struct tagIN_FAXDOCUMENT {

SHORT  size;

IN_DOCWIN docwinID;

char  phoneNumber[IN_PHONE_LENGTH];

SHORT  pageRange;

SHORT  firstPage;

SHORT  lastPage;

SHORT  mode;

SHORT  resolution;

IN_BOOL  bTile;

SHORT  scale;

SHORT  orientation;

IN_BOOL  bBanner;

IN_BOOL  bStamp;

} IN_FAX_DOCUMENT, FAR * IN_FAX_DOCUMENT_PTR;

Parameters

Values

Meaning

size

sizeof(IN_FAX_DOCUMENT);

defines the size of the current structure. See Remarks.

docwinID

0 | docwinID

active | specific

phoneNumber
[IN_PHONE_LENGTH]

pointer

string that contains the phone number

pageRange

IN_PRINT_* range to print

CURRENT_PAGE (1) current page

PAGE_RANGE (2) page range defined by firstPage and lastPage

ALL_PAGES (3) all pages

firstPage

page number

first page of range to fax. Set it to 0 if not used.

lastPage

page number

last page of range to fax. Set it to 0 if not used.

mode

IN_PMODE_* defines what layers are printed

DOCUMENT (1) all layers

LAYERS (2) displayed layers only

AS_DISPLAYED (4) as displayed within window boundary

ACTIVE_RASTER (8) active raster layer

ACTIVE_EDIT (16) active edit layer

RASTERS_DISPLAYED (32) displayed raster layers

EDITS_DISPLAYED (64) displayed edit layers

resolution

IN_FAXRES_NORMAL (1) normal

IN_FAXRES_FINE (2) fine

bTile

FALSE | TRUE

do not tile | tile

scale

IN_SCALE_MODE_* defines the scale mode

TO_FIT (1)

ACTUAL_SIZE (2)

HALF_PAGE (3)

NO_SCALE (4)

ACTUAL_SIZE_OR_FIT (5)

orientation

IN_ORIENT_* defines the image orientation

BEST_FIT (1)

PORTRAIT (2)

LANDSCAPE (3)

MIN_LENGTH (4)

bBanner

FALSE | TRUE

no banner | banner included

bStamp

FALSE | TRUE

no stamp | stamp included

Remarks

The size field is used for version control. If this field is incorrect, then the IN_ERR_INVALID_STRUCT_SIZE error is returned.