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


IQuerySize Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IQuerySize Interface

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

Product Availability

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

Members

Description
Method QuerySize Get the size in points.

CoClasses that implement IQuerySize

CoClasses and Classes Description
AlternatingScaleBar A map surround for displaying a single alternating scale bar.
DoubleAlternatingScaleBar A map surround for displaying a double alternating scale bar.
HollowScaleBar A map surround for displaying a hollow scale bar.
ImageInset A map surround for displaying an inset.
Legend A map surround for displaying a legend.
MapInset A map surround for displaying an inset.
MapTitle A map surround for displaying a map title.
MarkerNorthArrow A map surround for displaying a marker north arrow.
Overview A map surround for displaying an overview.
Scalebar Obsolete scale bar coclass. Exists to preserve document format.
ScaleLine A map surround for displaying a scale line.
ScaleText A map surround for displaying a scale text.
SingleDivisionScaleBar A map surround for displaying a single division scale bar.
SteppedScaleLine A map surround for displaying a stepped scale line.

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.

.NET Snippets

Add Legend