Programming Reference


Stationery Documents

 

The functions in this section are used to create and delete part stationery documents in the OpenDoc Stationery folder.

The following is a list of stationery document functions.

 

ODCreateTemplate

This function creates a stationery document from the specified part kind and editor and returns the stationery document's Workplace Shell object ID.

Signature
ISOString ODCreateTemplate (ODType partKindName,
                            ODEditor partEditor)

Parameters

partKindName  (ODType)  -  input 

The part kind of the stationery document.

partEditor  (ODEditor)  -  input 

The part editor of the stationery document.

Returns

rv  (ISOString)  -  returns 

The Workplace Shell object ID for the new stationery document.
 

ODRemoveTemplate

This function removes the stationery document with the specified object ID.

Signature
LONG ODRemoveTemplate (ISOString ObjectID)

Parameters

ObjectID  (ISOString)  -  input 

The ID of the object whose stationery document is to be removed.

Returns

rv  (LONG)  -  returns 

A flag indicating whether the stationery document was removed.
0 Successful completion.
1 Error occurred.


[ Top | Previous | Next | Contents | Index | Documentation Homepage ]