com.esri.arcgis.carto
Interface IQuerySize

All Superinterfaces:
Serializable
All Known Implementing Classes:
AlternatingScaleBar, DoubleAlternatingScaleBar, HollowScaleBar, ImageInset, Legend, MapInset, MapTitle, MarkerNorthArrow, Overview, Scalebar, ScaleLine, ScaleText, SingleDivisionScaleBar, SteppedScaleLine

public interface IQuerySize
extends Serializable

Provides access to means to getting the size of an element.

Remarks

IQuerySize is useful to find the size of an element in the page layout. Most of the map surrounds implement this interface.

It contains only one method QuerySize that returns the height and width of the element in points.

Product Availability

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


Method Summary
 void querySize(double[] widthPoints, double[] heightPoints)
          Get the size in points.
 

Method Detail

querySize

void querySize(double[] widthPoints,
               double[] heightPoints)
               throws IOException,
                      AutomationException
Get the size in points.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
widthPoints - The widthPoints (in/out: use single element array)
heightPoints - The heightPoints (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.