This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControlDefault Interface > IPageLayoutControlDefault.DocumentFilename Property (ArcObjects .NET 10.5 SDK) |
The filename of the last map document loaded into the control.
[Visual Basic .NET] Public Property DocumentFilename As String
[C#] public string DocumentFilename {get; set;}
[C++]
HRESULT get_DocumentFilename(
BSTR* pVal
);
[C++]
HRESULT put_DocumentFilename(
BSTR pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type BSTR pVal [in] pVal is a parameter of type BSTR
Returns the DocumentFilename of the last document loaded into the PagelayoutControl with the LoadMxFile method. An empty string will be returned if no document is loaded.