SPUtility.GetHtmlTranslateUrlFromExt method
SharePoint 2013
Returns the Universal Resource Locator (URL) of a back-end converter program that is used to handle a request when the client computer does not have the Microsoft Office application installed.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)] public static void GetHtmlTranslateUrlFromExt( SPWeb web, string strExtension, out string strHandlerUrl )
Parameters
- web
- Type: Microsoft.SharePoint.SPWeb
A Microsoft.SharePoint.SPWeb object that represents the parent Web site for the file.
- strExtension
- Type: System.String
A string that contains the file name extension of the file that is converted.
- strHandlerUrl
- Type: System.String
A string that contains the URL of the converter program.
For an overview of HTML translation, see Programming with the Microsoft.HtmlTrans.Interface.