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


IARPageLayout.MapExtentType Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

IARPageLayout.MapExtentType Property

The extent type of the specified map.

[Visual Basic .NET]
Public Function get_MapExtentType ( _
    ByVal pMap As ARMap _
) As esriARExtentType
[C#]
public esriARExtentType get_MapExtentType (
    ARMap pMap
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The MapExtentType returns the map extent type of the specified ARMap. When a PMF document is published the author may restrict the extent of the map to be either fixed extent or fixed scale.

esriARExtentTypeNotFixed specifies the ARMap extent will not be preserved at the current visible extent and MapScale.

esriARExtentTypeFixedScale specifies the ARMap extent will be preserved at the specified MapScale. As such, no map zooming is allowed.

esriARExtentTypeFixedExtent specifies the ARMap extent will be preserved at the current visible extent. As such, no map zooming and panning is allowed.

[C#]

In C# use the get_MapExtentType method, as indexed property accessors are not supported.

See Also

IARPageLayout Interface