|
The QMMarkMapping() function enables or disables mark mapping for a directory file.
The function arguments are:
| FileNo | is the file number returned by a previous QMOpen() call. |
| State | is non-zero to enable mark mapping, zero to disable. |
See the QMBasic MARK.MAPPING statement for more details.
The examples below open the PDF file and disable mark mapping. A real program should include error handling in case the file cannot be opened.
void QMMarkMapping(int FileNo, int State)
fPDF = QMOpen("PDF");
QMMarkMapping(fPDF, FALSE);
|
QMMarkMapping ByVal FileNo as Integer, ByVal State as Integer
fPDF = QMOpen("PDF")
QMMarkMapping(fPDF, False)
|
MarkMapping(FileNo, State)
fPDF = session->Open('PDF')
session->MarkMapping(fPDF, @false)
|
MarkMapping (int FileNo, boolean State)
fPDF = qm.Open("PDF");
qm.MarkMapping(fPDF, false);
|
MarkMapping (FileNo, State)
fPDF = qm.Open("PDF")
qm.MarkMapping(fPDF, False)
|
|