Click or drag to resize
CMSAbstractTransformationGetSharePointImageUrl Method
Gets URL for accessing an image on SharePoint server.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public string GetSharePointImageUrl(
	string fileRefColumnName = null,
	Nullable<int> width = null,
	Nullable<int> height = null,
	Nullable<int> maxSideSize = null
)

Parameters

fileRefColumnName (Optional)
Type: SystemString
Name of column which contains SharePoint server relative path to the image. Null uses the default (FileRef).
width (Optional)
Type: SystemNullableInt32
Maximum width of the image the handler should return.
height (Optional)
Type: SystemNullableInt32
Maximum height of the image the handler should return.
maxSideSize (Optional)
Type: SystemNullableInt32
Maximum side size of the image the handler should return.

Return Value

Type: String
See Also