PyCDocTemplate.MatchDocType Virtual

MatchDocType(fileName, fileType )

Queries if the template can open the specified file name.

Parameters

fileName : string

The name of the file to open.

fileType : int

Only used on the mac.

Comments

This method should call PyCDocTemplate.FindOpenDocument to return an already open document if one exists, else it should return one of the win32ui.CDocTemplate_Confidence_* constants.