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


IScreenDisplay2.ScaleContents Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay2 Interface > IScreenDisplay2.ScaleContents Property
ArcGIS Developer Help

IScreenDisplay2.ScaleContents Property

Indicates if the contents of the screen scale when a resize occurs. True means scale contents to fit new window size. False means contents stays the same with more or less of it showing.

[Visual Basic .NET]
Public Property ScaleContents As Boolean
[C#]
public bool ScaleContents {get; set;}
[C++]
HRESULT get_ScaleContents(
  VARIANT_BOOL flag
);
[C++]
HRESULT put_ScaleContents(
  Boolean* flag
);
[C++]
Parameters
flag [in]

flag is a parameter of type bool flag [out, retval]
flag is a parameter of type bool*

Product Availability

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

See Also

IScreenDisplay2 Interface