Description Loads the specified ASCII file into a DIB.
Syntax Dib = [BITIFF.]CreateDIBFaxPageFromASCII MaxPages PagesArray FileName PageWidth PageLength Xmargin Ymargin TypeFace FontPointSize XDPI YDPI LineSpace TabArray Flags
Remarks Dib LONGLONG The device independent bitmap. 0 if error occurred.
MaxPages Integer The maximum number of pages (DIBs) to convert.
PagesArray Long The first item of an array to receive the pages (DIBs). The array must be large enough to store at least MaxPages values.
FileName String Name of an ASCII text file. The file must not be longer than 65535 bytes.
PageWidth Integer The page width is defined in 100 of an inch.
8 1/2 inch page should be 850.
PageLength Integer The page length is defined in 100 of an inch.
11 inch page should be 1100.
Xmargin Integer 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.
Ymargin Integer The top and bottom margin is defined in 100 of an inch. A 1/2 inch margin should be 50. On an 11 inch page a half inch margin should leave a 10 inch client area. Range must be in the page size limits.
TypeFace String The type face string.
FontPointSize Integer The font size in points. The range should be 6 to 72 points.
XDPI Integer Horizontal DPI resolution of bitmap. Range should be 50 - 600 DPI.
YDPI Integer Vertical DPI resolution of bitmap. Range should be 50 - 600 DPI.
LineSpace Integer Distance between two lines.
TabArray Integer The tab stops. Maximum of 15. You should pass the first item of an array to this parameter. The first zero value in the array indicates that there are no more tabs.
Flags Long This can be any combination of the following values, except the tifafMeasureInch and tifafMeasureMeter flags:
tifafTextBold = 4 The entire text is bold.
tifafTextItalic = 2 The entire text is italic.
tifafMeasureInch = 1 The measurement is in inch (default).
tifafMeasureMeter = 8 The measurement is in millimeter.
See Also DIBFormOverlay Method