This document is archived and information here might be outdated.  Recommended version.


IARControl.CheckDocument Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

IARControl.CheckDocument Method

Checks the document filename to determine if its a valid Published Map File (*.PMF), published with permission to load into the control.

[Visual Basic .NET]
Public Function CheckDocument ( _
    ByVal sFilename As String _
) As Boolean
[C#]
public bool CheckDocument (
    string sFilename
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Determines whether the specified Published Map File (*.pmf) is a valid file and was published with permission to load into the ArcReaderControl. 

See Also

IARControl Interface