Export (0) Print
Expand All
Expand Minimize

SPUtility.GetHtmlTranslateUrlFromExt method

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.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

PublicSharedSubGetHtmlTranslateUrlFromExt ( _
	webAsSPWeb, _
	strExtensionAsString, _
	<OutAttribute> ByRefstrHandlerUrlAsString _
DimwebAsSPWebDimstrExtensionAsStringDimstrHandlerUrlAsStringSPUtility.GetHtmlTranslateUrlFromExt(web, _
	strExtension, strHandlerUrl)


Type: Microsoft.SharePoint.SPWeb

A Microsoft.SharePoint.SPWeb object that represents the parent Web site for the file.

Type: System.String

A string that contains the file name extension of the file that is converted.

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.

© 2014 Microsoft