com.esri.arcgis.carto
Interface IBoundsProperties

All Superinterfaces:
Serializable
All Known Implementing Classes:
AlternatingScaleBar, BmpPictureElement, CircleElement, DoubleAlternatingScaleBar, EllipseElement, EmfPictureElement, FrameElement, GifPictureElement, GroupElement, HollowScaleBar, ImgPictureElement, InkGraphic, Jp2PictureElement, JpgPictureElement, Legend, LineElement, MapFrame, MapInset, MapSurroundFrame, MapTitle, MarkerElement, MarkerNorthArrow, MultiPatchElement, Overview, ParagraphTextElement, PMFTitleTextElement, PngPictureElement, PolygonElement, RectangleElement, Scalebar, ScaleLine, ScaleText, SidPictureElement, SingleDivisionScaleBar, SteppedScaleLine, Text3DElement, TextElement, TifPictureElement

public interface IBoundsProperties
extends Serializable

Provides access to members that control Bounds Properties.

Remarks

This interface is available on elements and map surrounds.

Use this interface to get or set the FixedAspectRatio properties wich defines if the horizontal and vertical proportion of an element or map surround are constrained. This is equivalent to setting the Preserve aspect ratio property in the Size and Position tab in the Properties of elements and mapsurrounds. This property cannot be set for elements of which the size is defined by the symbol such as markers or texts which can be identified by checking that their FixedSize property returns true.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 boolean isFixedAspectRatio()
          Indicates if the bounds has a fixed aspect ratio.
 boolean isFixedSize()
          Indicates if size is determined by some other property like the symbol.
 void setFixedAspectRatio(boolean flag)
          Indicates if the bounds has a fixed aspect ratio.
 

Method Detail

isFixedAspectRatio

boolean isFixedAspectRatio()
                           throws IOException,
                                  AutomationException
Indicates if the bounds has a fixed aspect ratio.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFixedAspectRatio

void setFixedAspectRatio(boolean flag)
                         throws IOException,
                                AutomationException
Indicates if the bounds has a fixed aspect ratio.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFixedSize

boolean isFixedSize()
                    throws IOException,
                           AutomationException
Indicates if size is determined by some other property like the symbol.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.