CreateDIBFaxPageFromASCIIEXT  Method

Description         Loads the specified ASCII file into a DIB. The method create an array of DIBs that stores the pages of ASCII file. This array stores MaxPages DIBs. This array is allocated before the loading the ASCII file. This method should be used in ASP, C# and J# application for loading ASCII file instead of CreateDIBFaxpageFromASCII method.

Syntax                 Dib = [BITIFF.]CreateDIBFaxPageFromASCIIEXT  MaxPages FileName PageWidth PageLength Xmargin Ymargin TypeFace FontPointSize XDPI YDPI LineSpace Flags

Remarks             Dib                          LONGLONG The device independent bitmap. 0 if error occurred.

                            MaxPages              Integer             The maximum number of pages (DIBs) to convert.

                            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 hundredths of an inch. 8 1/2 inch page should be 850.

                            PageLength           Integer             The page length is defined in hundredths of an inch. 11 inch page should be 1100.

                            Xmargin                 Integer             The left and right margin on a page is defined in hundredths 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 hundredths 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.

                            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, CreateDIBFaxPageFromASCII Method, GetSizeOfASCIIPagesArray Method, FreeASCIIPagesArray Method, GetDIBFromPagesArray Method, GetTabStopInASCIIFile Method, SetTabStopInASCIIFile Method