The following is a description of all the options the RTF export module supports. These options may be set by usingthe NTPSetOption function. These options may in part also be set directly via the printer selection dialogue.
NTPOPTION_RTFEXP_RESOLUTION
Defines the resolution in dpi for the coordinate conversion and the graphics generation.
Default: 96dpi, screen resolution.
NTPOPTION_RTFEXP_BITSPERPIXEL
Defines the color depth for the generated graphics files. For RTF export 256 colors are usually sufficient. It should be noted, that for higher color depths, graphics files can explode in size.
1 = Black and white
4 = 16 colors
8 = 256 colors
24 = 24bit True Color
32 = 32bit True Color
Default: 8
NTPOPTION_RTFEXP_RECTANGLE
Configures the way rectangle objects are exported.
0 = Ignore objects
1 = Object as positioning frames
Default: 1
NTPOPTION_RTFEXP_BARCODE
Configures how barcode objects are exported.
0 = Ignore object
1 = Object as graphics
Default: 1
NTPOPTION_RTFEXP_DRAWING
Configures how graphics objects are exported.
0 = Ignore object
1 = Object as graphics
Default: 1
NTPOPTION_RTFEXP_ELLIPSE
Configures how ellipsoid objects are exported.
0 = Ignore object
1 = Object as graphics
Default: 1
NTPOPTION_RTFEXP_LINE
Configures how line objects are exported.
0 = Ignore object
1 = Object as graphics
Default: 1
NTPOPTION_RTFEXP_TEXT
Configures how text objects are exported.
0 = Ignore object
1 = Object as complete text object
2 = Object as graphics
Default: 1
NTPOPTION_RTFEXP_RTF
Configures how RTF objects are exported.
0 = Ignore object
1 = As formatted RTF text
2 = Object as graphics
Default: 1
NTPOPTION_RTFEXP_TABLE
Configures how table objects are exported.
0 = Ignore object
1 = As complete table object
Default: 1
NTPOPTION_RTFEXP_EXTENDOBJECTS
Configures how extended objects (e.g. the HTML or the chart object) are exported.
0 = Ignore object
1 = Object as JPEG
Default: 1
NTPOPTION_RTFEXP_PATH
Defines the target path for the export. If an empty string is passed, the user will be presented with a path selection dialogue.
NTPOPTION_RTFEXP_FILE
Provides the file name for the RTF document to be generated. If an empty string is passed, a file selection dialogue will be presented.
NTPOPTION_RTFEXP_QUIET
Specifies if the export is to be generated with user interaction.
0 = User interaction/dialogues allowed
1 = No target path dialogue (provided the path has been set) and no "overwrite?" query.
Default: 0
NTPOPTION_RTFEXP_SHOWRESULT
Specifies if the application registered with the file name is to be started automatically after the export is completed.
0 = Do not show results
1 = Initiates a ShellExecute() on file names, which normally leads to the start of a word processing or similar software.
Default: 0