PyCDocTemplate.MatchDocType Virtual

MatchDocType(fileName, fileType )

Queries if the template can open the specified file name.


fileName : string

The name of the file to open.

fileType : int

Only used on the mac.


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.