HIOUtilityPostscript

class HIOUtilityPostscript

The HIOUtilityPostscript is the class for writing postscript files using the HOOPS postscript driver.

Inherits from: HOutputHandler

Methods

HIOUtilityPostscript::HIOUtilityPostscript()

Constructs an HIOUtilityPostscript object.

HIOUtilityPostscript::~HIOUtilityPostscript()
char const *HIOUtilityPostscript::GetOutputName()

Returns

A character pointer denoting the name of the handler.
char const *HIOUtilityPostscript::GetInputName()
void HIOUtilityPostscript::RegisterOutputHandlerTypes()

This method registers the “ps” extension to this handler as an output handler.

char const *HIOUtilityPostscript::GetOutputTypesString()

Returns

The string of the type of output this handler creates which is “ps”.
HOutputHandlerStyle HIOUtilityPostscript::GetOutputStyle()

Returns

The type of output style which is #HOutputHandlerStyleHardcopy.
char const *HIOUtilityPostscript::GetOutputDefaultHSRA()

Returns

The default HSRA for the HIOUtilityPostscript instance.
HFileOutputResult HIOUtilityPostscript::FileOutputByKey(__wchar_t const *filename, HC_KEY key, HOutputHandlerOptions *options)

This method writes a postscript file out of the segment tree underneath the given key.

Parameters

filename: The name of the file to output.

key: The HOOPS segment key to get output data from.

options: The options class containing any needed extra information for the operation.

Returns

The #HFileOutputResult result of the output operation.
HFileOutputResult HIOUtilityPostscript::FileOutputByKey(unsigned short const *filename, HC_KEY key, HOutputHandlerOptions *options)
HFileOutputResult HIOUtilityPostscript::FileOutputByKey(char const *filename, HC_KEY key, HOutputHandlerOptions *options)