Show / Hide Table of Contents

Property Size

Size

Gets or sets the size of the image for the screen overlay.

Declaration
public KmlImageCoordinate Size { get; set; }
Property Value
Type Description
KmlImageCoordinate

The size of the image for the screen overlay.

Remarks

Coordinate value of −1 indicates to use the native dimension. Coordinate value of 0 indicates to maintain the aspect ratio. Coordinate value of 'n' sets the value of the dimension. If no Size is specified, overlay will fill the entire screen.

For example:

  • An X value of -1 (Fraction) and a Y value of -1 (Fraction) indicate that the overlay size equals to the original image width and height.
  • An X value of -1 (Fraction) and a Y value of 0.2 (Fraction) indicate that the overlay size equals to the full width of the original image and 20% of its original height.
  • An X (Pixels) value of 100 and a Y value of 500 (Pixels) indicate that the overlay size equals to 100×500 pixels (DIPs) regardless of original image size.

See Also
OverlayCoordinate
KmlUnitsType

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.7 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.7 - 200.7
Xamarin.Android100.7 - 100.15
Xamarin.iOS100.7 - 100.15
UWP100.7 - 200.7
In This Article
Back to top Copyright © 2022 Esri.