Interface IResourcePreviewUrlGenerator
Generates preview URLs for any given resource
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public interface IResourcePreviewUrlGenerator
Properties
|
Improve this Doc
View Source
AddDebugWatermark
Gets or sets whether to insert a debug watermark in the previewed resource
Declaration
bool AddDebugWatermark { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseAjaxViewer
Gets or sets whether to use the AJAX viewer for previewing
Declaration
bool UseAjaxViewer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
GeneratePreviewUrl(IResource, String, Boolean, String)
Generates a preview URL for the given resource
Declaration
string GeneratePreviewUrl(IResource res, string locale, bool isNew, string sessionID)
Parameters
Type |
Name |
Description |
IResource |
res |
|
System.String |
locale |
|
System.Boolean |
isNew |
|
System.String |
sessionID |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsPreviewableType(String)
Gets whether the given resource type is previewable
Declaration
bool IsPreviewableType(string resourceType)
Parameters
Type |
Name |
Description |
System.String |
resourceType |
|
Returns
Type |
Description |
System.Boolean |
|