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


IScreenDisplay2.ScaleContents Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

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(
  VARIANT_BOOL flag
);
[C++]

Parameters flag [out, retval] flag is a parameter of type VARIANT_BOOL flag [in] flag is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IScreenDisplay2 Interface