GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
PrintViewModel Class
Provides the logic for the Print widget and component. ArcGIS Maps SDK for JavaScript
public class PrintViewModel : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 PrintViewModel
Constructors
PrintViewModel() Constructor
Parameterless constructor for use as a Razor Component.
public PrintViewModel();
PrintViewModel(string, Nullable, Portal, string, Nullable, Nullable, string, string, IReadOnlyList, IReadOnlyList, Dictionary<string,Dictionary<string,string>>, Nullable, IReadOnlyList, SpatialReference, TemplateOptions) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public PrintViewModel(string? extraParameters=null, System.Nullable<bool> includeDefaultTemplates=null, dymaptic.GeoBlazor.Core.Components.Portal? portal=null, string? printServiceUrl=null, System.Nullable<double> printTimeout=null, System.Nullable<bool> showPrintAreaEnabled=null, string? stringAllowedFormats=null, string? stringAllowedLayouts=null, System.Collections.Generic.IReadOnlyList<string>? stringCollectionAllowedFormats=null, System.Collections.Generic.IReadOnlyList<string>? stringCollectionAllowedLayouts=null, System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,string?>?>? templateCustomTextElements=null, System.Nullable<double> updateDelay=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.FileLink>? exportedLinks=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? outSpatialReference=null, dymaptic.GeoBlazor.Pro.Options.TemplateOptions? templateOptions=null);
Parameters
extraParameters System.String
This option allows passing extra parameters to the print (export webmap) requests. ArcGIS Maps SDK for JavaScript
includeDefaultTemplates System.Nullable<System.Boolean>
Indicates whether or not to include defaultTemplates. default true ArcGIS Maps SDK for JavaScript
portal Portal
It is possible to search a specified portal instance’s locator services. ArcGIS Maps SDK for JavaScript
printServiceUrl System.String
The URL of the REST endpoint of the Export Web Map Task. ArcGIS Maps SDK for JavaScript
printTimeout System.Nullable<System.Double>
Print timeout value in milliseconds. default 120000 ArcGIS Maps SDK for JavaScript
showPrintAreaEnabled System.Nullable<System.Boolean>
The initial state of the print area toggle in the UI. default false ArcGIS Maps SDK for JavaScript
stringAllowedFormats System.String
Specify the print output file format(s) that the user can select based on the options available from the print service. default “all” ArcGIS Maps SDK for JavaScript
stringAllowedLayouts System.String
Specify the print output layout(s) that the user can select based on the options available from the print service. default “all” ArcGIS Maps SDK for JavaScript
stringCollectionAllowedFormats System.Collections.Generic.IReadOnlyList<System.String>
Specify the print output file format(s) that the user can select based on the options available from the print service. default “all” ArcGIS Maps SDK for JavaScript
stringCollectionAllowedLayouts System.Collections.Generic.IReadOnlyList<System.String>
Specify the print output layout(s) that the user can select based on the options available from the print service. default “all” ArcGIS Maps SDK for JavaScript
templateCustomTextElements System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.Dictionary<System.String,System.String>>
An object containing an array of `customTextElements` name-value pair objects for each print template in a custom print service. ArcGIS Maps SDK for JavaScript
updateDelay System.Nullable<System.Double>
The time interval in milliseconds between each job status request sent to an asynchronous GP task. default 1000 ArcGIS Maps SDK for JavaScript
exportedLinks System.Collections.Generic.IReadOnlyList<FileLink>
The collection of links exported from Print. ArcGIS Maps SDK for JavaScript
outSpatialReference SpatialReference
The spatial reference used to render the printed map on the server. ArcGIS Maps SDK for JavaScript
templateOptions TemplateOptions
Defines the layout template options to generate the print page. ArcGIS Maps SDK for JavaScript
Properties
PrintViewModel.BrowseTemplates Property
A collection of print templates defined on the Portal. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.CustomTemplate>? BrowseTemplates { get; }
Property Value
System.Collections.Generic.IReadOnlyList<CustomTemplate>
PrintViewModel.DefaultTemplate Property
The template which defines the default print template. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Pro.Model.CustomTemplate? DefaultTemplate { get; }
Property Value
PrintViewModel.DefaultTemplates Property
A collection of print templates defined on the Portal. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.CustomTemplate>? DefaultTemplates { get; }
Property Value
System.Collections.Generic.IReadOnlyList<CustomTemplate>
PrintViewModel.EffectivePrintServiceUrl Property
The effective URL of the REST endpoint of the Export Web Map Task. ArcGIS Maps SDK for JavaScript
public string? EffectivePrintServiceUrl { get; }
Property Value
PrintViewModel.EffectiveTemplateCustomTextElements Property
Returns an array of objects of all print templates available on the custom print service to see which templates were published with `customTextElements`. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,string?>?>? EffectiveTemplateCustomTextElements { get; }
Property Value
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.Dictionary<System.String,System.String>>
PrintViewModel.Error Property
The error that occurred during printing. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.Error? Error { get; }
Property Value
PrintViewModel.ExportedLinks Property
The collection of links exported from Print. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.FileLink>? ExportedLinks { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<FileLink>
PrintViewModel.ExtraParameters Property
This option allows passing extra parameters to the print (export webmap) requests. ArcGIS Maps SDK for JavaScript
public string? ExtraParameters { get; set; }
Property Value
PrintViewModel.IncludeDefaultTemplates Property
Indicates whether or not to include defaultTemplates. default true ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> IncludeDefaultTemplates { get; set; }
Property Value
System.Nullable<System.Boolean>
PrintViewModel.OutSpatialReference Property
The spatial reference used to render the printed map on the server. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SpatialReference? OutSpatialReference { get; set; }
Property Value
PrintViewModel.Portal Property
It is possible to search a specified portal instance’s locator services. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Portal? Portal { get; set; }
Property Value
PrintViewModel.PortalTemplateIds Property
An array of portalItem Ids that are used to identify the print templates using layoutItem Id. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<string>? PortalTemplateIds { get; }
Property Value
System.Collections.Generic.IReadOnlyList<System.String>
PrintViewModel.PrintServiceTemplates Property
A collection of print templates defined on the Portal. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.CustomTemplate>? PrintServiceTemplates { get; }
Property Value
System.Collections.Generic.IReadOnlyList<CustomTemplate>
PrintViewModel.PrintServiceUrl Property
The URL of the REST endpoint of the Export Web Map Task. ArcGIS Maps SDK for JavaScript
public string? PrintServiceUrl { get; set; }
Property Value
PrintViewModel.PrintTimeout Property
Print timeout value in milliseconds. default 120000 ArcGIS Maps SDK for JavaScript
public System.Nullable<double> PrintTimeout { get; set; }
Property Value
System.Nullable<System.Double>
PrintViewModel.ShowPrintAreaEnabled Property
The initial state of the print area toggle in the UI. default false ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> ShowPrintAreaEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
PrintViewModel.State Property
The view model’s state. default “disabled” ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.PrintViewModelState> State { get; }
Property Value
System.Nullable<PrintViewModelState>
PrintViewModel.StringAllowedFormats Property
Specify the print output file format(s) that the user can select based on the options available from the print service. default “all” ArcGIS Maps SDK for JavaScript
public string? StringAllowedFormats { get; set; }
Property Value
PrintViewModel.StringAllowedLayouts Property
Specify the print output layout(s) that the user can select based on the options available from the print service. default “all” ArcGIS Maps SDK for JavaScript
public string? StringAllowedLayouts { get; set; }
Property Value
PrintViewModel.StringCollectionAllowedFormats Property
Specify the print output file format(s) that the user can select based on the options available from the print service. default “all” ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<string>? StringCollectionAllowedFormats { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.String>
PrintViewModel.StringCollectionAllowedLayouts Property
Specify the print output layout(s) that the user can select based on the options available from the print service. default “all” ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<string>? StringCollectionAllowedLayouts { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.String>
PrintViewModel.TemplateCustomTextElements Property
An object containing an array of `customTextElements` name-value pair objects for each print template in a custom print service. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,string?>?>? TemplateCustomTextElements { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.Dictionary<System.String,System.String>>
PrintViewModel.TemplateOptions Property
Defines the layout template options to generate the print page. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Pro.Options.TemplateOptions? TemplateOptions { get; set; }
Property Value
PrintViewModel.TemplatesInfo Property
The service metadata that contains the format and layout information for the printout. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Pro.Components.PrintViewModelTemplatesInfo? TemplatesInfo { get; }
Property Value
PrintViewModel.UpdateDelay Property
The time interval in milliseconds between each job status request sent to an asynchronous GP task. default 1000 ArcGIS Maps SDK for JavaScript
public System.Nullable<double> UpdateDelay { get; set; }
Property Value
System.Nullable<System.Double>
Methods
PrintViewModel.AddPortalTemplate(PortalItem) Method
Adds a template to a portal. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task AddPortalTemplate(dymaptic.GeoBlazor.Core.Components.PortalItem portalItem);
Parameters
portalItem PortalItem
The PortalItem used to create a print template. This template will be added to the `browseTemplates` collection.
Returns
PrintViewModel.AddToExportedLinks(FileLink[]) Method
Asynchronously adds elements to the ExportedLinks property.
public System.Threading.Tasks.Task AddToExportedLinks(params dymaptic.GeoBlazor.Pro.Model.FileLink[] values);
Parameters
The elements to add.
Returns
PrintViewModel.ApplyTemplate(CustomTemplate) Method
Applies the specified print template to the `templateOptions` property. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task ApplyTemplate(dymaptic.GeoBlazor.Pro.Model.CustomTemplate template);
Parameters
template CustomTemplate
The CustomTemplate will be applied.
Returns
PrintViewModel.CreateExportedFileLink(string) Method
Creates a new FileLink object for the given file name. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Model.FileLink?> CreateExportedFileLink(string fileName);
Parameters
fileName System.String
The base name of the file to be exported (without extension).
Returns
System.Threading.Tasks.Task<FileLink>
PrintViewModel.Export(string) Method
Exports the current print template to a file. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.PrintExport?> Export(string fileName);
Parameters
fileName System.String
The name of the file to export (without extension).
Returns
System.Threading.Tasks.Task<PrintExport>
PrintViewModel.GetBrowseTemplates() Method
Asynchronously retrieve the current value of the BrowseTemplates property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.CustomTemplate>?> GetBrowseTemplates();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<CustomTemplate>>
PrintViewModel.GetDefaultTemplate() Method
Asynchronously retrieve the current value of the DefaultTemplate property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Model.CustomTemplate?> GetDefaultTemplate();
Returns
System.Threading.Tasks.Task<CustomTemplate>
PrintViewModel.GetDefaultTemplates() Method
Asynchronously retrieve the current value of the DefaultTemplates property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.CustomTemplate>?> GetDefaultTemplates();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<CustomTemplate>>
PrintViewModel.GetEffectivePrintServiceUrl() Method
Asynchronously retrieve the current value of the EffectivePrintServiceUrl property.
public System.Threading.Tasks.Task<string?> GetEffectivePrintServiceUrl();
Returns
System.Threading.Tasks.Task<System.String>
PrintViewModel.GetEffectiveTemplateCustomTextElements() Method
Asynchronously retrieve the current value of the EffectiveTemplateCustomTextElements property.
public System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,string?>?>?> GetEffectiveTemplateCustomTextElements();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.Dictionary<System.String,System.String>>>
PrintViewModel.GetError() Method
Asynchronously retrieve the current value of the Error property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Error?> GetError();
Returns
System.Threading.Tasks.Task<Error>
PrintViewModel.GetExportedLinks() Method
Asynchronously retrieve the current value of the ExportedLinks property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.FileLink>?> GetExportedLinks();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<FileLink>>
PrintViewModel.GetExtraParameters() Method
Asynchronously retrieve the current value of the ExtraParameters property.
public System.Threading.Tasks.Task<string?> GetExtraParameters();
Returns
System.Threading.Tasks.Task<System.String>
PrintViewModel.GetIncludeDefaultTemplates() Method
Asynchronously retrieve the current value of the IncludeDefaultTemplates property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetIncludeDefaultTemplates();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
PrintViewModel.GetLayoutTemplateById(string) Method
Returns a CustomTemplate with the specified `id`. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Model.CustomTemplate?> GetLayoutTemplateById(string id);
Parameters
The `id` of the CustomTemplate.
Returns
System.Threading.Tasks.Task<CustomTemplate>
PrintViewModel.GetOutSpatialReference() Method
Asynchronously retrieve the current value of the OutSpatialReference property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SpatialReference?> GetOutSpatialReference();
Returns
System.Threading.Tasks.Task<SpatialReference>
PrintViewModel.GetPortal() Method
Asynchronously retrieve the current value of the Portal property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Portal?> GetPortal();
Returns
System.Threading.Tasks.Task<Portal>
PrintViewModel.GetPortalTemplateIds() Method
Asynchronously retrieve the current value of the PortalTemplateIds property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>?> GetPortalTemplateIds();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.String>>
PrintViewModel.GetPrintServiceTemplates() Method
Asynchronously retrieve the current value of the PrintServiceTemplates property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.CustomTemplate>?> GetPrintServiceTemplates();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<CustomTemplate>>
PrintViewModel.GetPrintServiceUrl() Method
Asynchronously retrieve the current value of the PrintServiceUrl property.
public System.Threading.Tasks.Task<string?> GetPrintServiceUrl();
Returns
System.Threading.Tasks.Task<System.String>
PrintViewModel.GetPrintTimeout() Method
Asynchronously retrieve the current value of the PrintTimeout property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetPrintTimeout();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
PrintViewModel.GetShowPrintAreaEnabled() Method
Asynchronously retrieve the current value of the ShowPrintAreaEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetShowPrintAreaEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
PrintViewModel.GetState() Method
Asynchronously retrieve the current value of the State property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Pro.Enums.PrintViewModelState>> GetState();
Returns
System.Threading.Tasks.Task<System.Nullable<PrintViewModelState>>
PrintViewModel.GetStringAllowedFormats() Method
Asynchronously retrieve the current value of the StringAllowedFormats property.
public System.Threading.Tasks.Task<string?> GetStringAllowedFormats();
Returns
System.Threading.Tasks.Task<System.String>
PrintViewModel.GetStringAllowedLayouts() Method
Asynchronously retrieve the current value of the StringAllowedLayouts property.
public System.Threading.Tasks.Task<string?> GetStringAllowedLayouts();
Returns
System.Threading.Tasks.Task<System.String>
PrintViewModel.GetStringCollectionAllowedFormats() Method
Asynchronously retrieve the current value of the StringCollectionAllowedFormats property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>?> GetStringCollectionAllowedFormats();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.String>>
PrintViewModel.GetStringCollectionAllowedLayouts() Method
Asynchronously retrieve the current value of the StringCollectionAllowedLayouts property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>?> GetStringCollectionAllowedLayouts();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.String>>
PrintViewModel.GetTemplateCustomTextElements() Method
Asynchronously retrieve the current value of the TemplateCustomTextElements property.
public System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,string?>?>?> GetTemplateCustomTextElements();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.Dictionary<System.String,System.String>>>
PrintViewModel.GetTemplateOptions() Method
Asynchronously retrieve the current value of the TemplateOptions property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Options.TemplateOptions?> GetTemplateOptions();
Returns
System.Threading.Tasks.Task<TemplateOptions>
PrintViewModel.GetTemplatesInfo() Method
Asynchronously retrieve the current value of the TemplatesInfo property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.PrintViewModelTemplatesInfo?> GetTemplatesInfo();
Returns
System.Threading.Tasks.Task<PrintViewModelTemplatesInfo>
PrintViewModel.GetUpdateDelay() Method
Asynchronously retrieve the current value of the UpdateDelay property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetUpdateDelay();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
PrintViewModel.Load() Method
This method should be called to load the view model’s printing resources. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<string?> Load();
Returns
System.Threading.Tasks.Task<System.String>
PrintViewModel.Print(PrintTemplate) Method
Prints (exports) the current MapView according to selected options. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Results.PrintResult?> Print(dymaptic.GeoBlazor.Pro.Components.PrintTemplate template);
Parameters
template PrintTemplate
The PrintTemplate is used to specify the layout template options which is then used by the PrintTask to generate the print page.
Returns
System.Threading.Tasks.Task<PrintResult>
PrintViewModel.RemoveFromExportedLinks(FileLink[]) Method
Asynchronously remove an element from the ExportedLinks property.
public System.Threading.Tasks.Task RemoveFromExportedLinks(params dymaptic.GeoBlazor.Pro.Model.FileLink[] values);
Parameters
The elements to remove.
Returns
PrintViewModel.RemovePortalTemplate(CustomTemplate) Method
Removes Template from `browseTemplates`. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task RemovePortalTemplate(dymaptic.GeoBlazor.Pro.Model.CustomTemplate template);
Parameters
template CustomTemplate
The CustomTemplate will be removed.
Returns
PrintViewModel.SetExportedLinks(IReadOnlyList) Method
Asynchronously set the value of the ExportedLinks property after render.
public System.Threading.Tasks.Task SetExportedLinks(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Model.FileLink>? value);
Parameters
value System.Collections.Generic.IReadOnlyList<FileLink>
The value to set.
Returns
PrintViewModel.SetExtraParameters(string) Method
Asynchronously set the value of the ExtraParameters property after render.
public System.Threading.Tasks.Task SetExtraParameters(string? value);
Parameters
value System.String
The value to set.
Returns
PrintViewModel.SetIncludeDefaultTemplates(Nullable) Method
Asynchronously set the value of the IncludeDefaultTemplates property after render.
public System.Threading.Tasks.Task SetIncludeDefaultTemplates(System.Nullable<bool> value);
Parameters
value System.Nullable<System.Boolean>
The value to set.
Returns
PrintViewModel.SetOutSpatialReference(SpatialReference) Method
Asynchronously set the value of the OutSpatialReference property after render.
public System.Threading.Tasks.Task SetOutSpatialReference(dymaptic.GeoBlazor.Core.Components.SpatialReference? value);
Parameters
value SpatialReference
The value to set.
Returns
PrintViewModel.SetPortal(Portal) Method
Asynchronously set the value of the Portal property after render.
public System.Threading.Tasks.Task SetPortal(dymaptic.GeoBlazor.Core.Components.Portal? value);
Parameters
value Portal
The value to set.
Returns
PrintViewModel.SetPrintServiceUrl(string) Method
Asynchronously set the value of the PrintServiceUrl property after render.
public System.Threading.Tasks.Task SetPrintServiceUrl(string? value);
Parameters
value System.String
The value to set.
Returns
PrintViewModel.SetPrintTimeout(Nullable) Method
Asynchronously set the value of the PrintTimeout property after render.
public System.Threading.Tasks.Task SetPrintTimeout(System.Nullable<double> value);
Parameters
value System.Nullable<System.Double>
The value to set.
Returns
PrintViewModel.SetShowPrintAreaEnabled(Nullable) Method
Asynchronously set the value of the ShowPrintAreaEnabled property after render.
public System.Threading.Tasks.Task SetShowPrintAreaEnabled(System.Nullable<bool> value);
Parameters
value System.Nullable<System.Boolean>
The value to set.
Returns
PrintViewModel.SetStringAllowedFormats(string) Method
Asynchronously set the value of the StringAllowedFormats property after render.
public System.Threading.Tasks.Task SetStringAllowedFormats(string? value);
Parameters
value System.String
The value to set.
Returns
PrintViewModel.SetStringAllowedLayouts(string) Method
Asynchronously set the value of the StringAllowedLayouts property after render.
public System.Threading.Tasks.Task SetStringAllowedLayouts(string? value);
Parameters
value System.String
The value to set.
Returns
PrintViewModel.SetStringCollectionAllowedFormats(IReadOnlyList) Method
Asynchronously set the value of the StringCollectionAllowedFormats property after render.
public System.Threading.Tasks.Task SetStringCollectionAllowedFormats(System.Collections.Generic.IReadOnlyList<string>? value);
Parameters
value System.Collections.Generic.IReadOnlyList<System.String>
The value to set.
Returns
PrintViewModel.SetStringCollectionAllowedLayouts(IReadOnlyList) Method
Asynchronously set the value of the StringCollectionAllowedLayouts property after render.
public System.Threading.Tasks.Task SetStringCollectionAllowedLayouts(System.Collections.Generic.IReadOnlyList<string>? value);
Parameters
value System.Collections.Generic.IReadOnlyList<System.String>
The value to set.
Returns
PrintViewModel.SetTemplateCustomTextElements(Dictionary<string,Dictionary<string,string») Method
Asynchronously set the value of the TemplateCustomTextElements property after render.
public System.Threading.Tasks.Task SetTemplateCustomTextElements(System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,string?>?>? value);
Parameters
value System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.Dictionary<System.String,System.String>>
The value to set.
Returns
PrintViewModel.SetTemplateOptions(TemplateOptions) Method
Asynchronously set the value of the TemplateOptions property after render.
public System.Threading.Tasks.Task SetTemplateOptions(dymaptic.GeoBlazor.Pro.Options.TemplateOptions? value);
Parameters
value TemplateOptions
The value to set.
Returns
PrintViewModel.SetUpdateDelay(Nullable) Method
Asynchronously set the value of the UpdateDelay property after render.
public System.Threading.Tasks.Task SetUpdateDelay(System.Nullable<double> value);
Parameters
value System.Nullable<System.Double>
The value to set.
Returns
PrintViewModel.ToPrintTemplate(TemplateOptions) Method
Helper method to create print templates from a template options object.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.PrintTemplate?> ToPrintTemplate(dymaptic.GeoBlazor.Pro.Options.TemplateOptions templateOptions);
Parameters
templateOptions TemplateOptions
ArcGIS Maps SDK for JavaScript
Returns
System.Threading.Tasks.Task<PrintTemplate>
PrintViewModel.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()