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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.7 - 200.6 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.6 |