dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

BookmarkOptionsScreenshotSettings Class

An object that specifies the settings of the screenshot that will be used to create the bookmark’s thumbnail.
ArcGIS Maps SDK for JavaScript

public class BookmarkOptionsScreenshotSettings : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 BookmarkOptionsScreenshotSettings

Constructors

BookmarkOptionsScreenshotSettings() Constructor

Parameterless constructor for use as a Razor Component.

public BookmarkOptionsScreenshotSettings();

BookmarkOptionsScreenshotSettings(BookmarkOptionsScreenshotSettingsArea, Nullable, IReadOnlyList, Nullable) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public BookmarkOptionsScreenshotSettings(dymaptic.GeoBlazor.Core.Components.BookmarkOptionsScreenshotSettingsArea? area=null, System.Nullable<int> height=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? layers=null, System.Nullable<int> width=null);

Parameters

area BookmarkOptionsScreenshotSettingsArea

Used to take a screenshot of a subregion of the view.
ArcGIS Maps SDK for JavaScript

height System.Nullable<System.Int32>

The height (in pixels) of the screenshot.
ArcGIS Maps SDK for JavaScript

layers System.Collections.Generic.IReadOnlyList<Layer>

An optional list of layers to be included in the screenshot.
ArcGIS Maps SDK for JavaScript

width System.Nullable<System.Int32>

The width (in pixels) of the screenshot.
ArcGIS Maps SDK for JavaScript

Properties

BookmarkOptionsScreenshotSettings.Area Property

Used to take a screenshot of a subregion of the view.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.BookmarkOptionsScreenshotSettingsArea? Area { get; set; }

Property Value

BookmarkOptionsScreenshotSettingsArea

BookmarkOptionsScreenshotSettings.Height Property

The height (in pixels) of the screenshot.
ArcGIS Maps SDK for JavaScript

public System.Nullable<int> Height { get; set; }

Property Value

System.Nullable<System.Int32>

BookmarkOptionsScreenshotSettings.Layers Property

An optional list of layers to be included in the screenshot.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? Layers { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<Layer>

BookmarkOptionsScreenshotSettings.Width Property

The width (in pixels) of the screenshot.
ArcGIS Maps SDK for JavaScript

public System.Nullable<int> Width { get; set; }

Property Value

System.Nullable<System.Int32>

Methods

BookmarkOptionsScreenshotSettings.AddToLayers(Layer[]) Method

Asynchronously adds elements to the Layers property.

public System.Threading.Tasks.Task AddToLayers(params dymaptic.GeoBlazor.Core.Components.Layers.Layer[] values);

Parameters

values Layer[]

The elements to add.

Returns

System.Threading.Tasks.Task

BookmarkOptionsScreenshotSettings.GetArea() Method

Asynchronously retrieve the current value of the Area property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.BookmarkOptionsScreenshotSettingsArea?> GetArea();

Returns

System.Threading.Tasks.Task<BookmarkOptionsScreenshotSettingsArea>

BookmarkOptionsScreenshotSettings.GetHeight() Method

Asynchronously retrieve the current value of the Height property.

public System.Threading.Tasks.Task<System.Nullable<int>> GetHeight();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Int32>>

BookmarkOptionsScreenshotSettings.GetLayers() Method

Asynchronously retrieve the current value of the Layers property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>?> GetLayers();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Layer>>

BookmarkOptionsScreenshotSettings.GetWidth() Method

Asynchronously retrieve the current value of the Width property.

public System.Threading.Tasks.Task<System.Nullable<int>> GetWidth();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Int32>>

BookmarkOptionsScreenshotSettings.RemoveFromLayers(Layer[]) Method

Asynchronously remove an element from the Layers property.

public System.Threading.Tasks.Task RemoveFromLayers(params dymaptic.GeoBlazor.Core.Components.Layers.Layer[] values);

Parameters

values Layer[]

The elements to remove.

Returns

System.Threading.Tasks.Task

BookmarkOptionsScreenshotSettings.SetArea(BookmarkOptionsScreenshotSettingsArea) Method

Asynchronously set the value of the Area property after render.

public System.Threading.Tasks.Task SetArea(dymaptic.GeoBlazor.Core.Components.BookmarkOptionsScreenshotSettingsArea? value);

Parameters

value BookmarkOptionsScreenshotSettingsArea

The value to set.

Returns

System.Threading.Tasks.Task

BookmarkOptionsScreenshotSettings.SetHeight(Nullable) Method

Asynchronously set the value of the Height property after render.

public System.Threading.Tasks.Task SetHeight(System.Nullable<int> value);

Parameters

value System.Nullable<System.Int32>

The value to set.

Returns

System.Threading.Tasks.Task

BookmarkOptionsScreenshotSettings.SetLayers(IReadOnlyList) Method

Asynchronously set the value of the Layers property after render.

public System.Threading.Tasks.Task SetLayers(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<Layer>

The value to set.

Returns

System.Threading.Tasks.Task

BookmarkOptionsScreenshotSettings.SetWidth(Nullable) Method

Asynchronously set the value of the Width property after render.

public System.Threading.Tasks.Task SetWidth(System.Nullable<int> value);

Parameters

value System.Nullable<System.Int32>

The value to set.

Returns

System.Threading.Tasks.Task

BookmarkOptionsScreenshotSettings.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()