Click or drag to resize
PageTemplateDeviceLayoutInfoProviderGetLayoutObject Method (PageTemplateInfo, DeviceProfileInfo, PageTemplateLayoutTypeEnum)
Returns the layout object and type for specific page template

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 10.0.0
Syntax
C#
public static Object GetLayoutObject(
	PageTemplateInfo ti,
	DeviceProfileInfo dpi,
	out PageTemplateLayoutTypeEnum type
)

Parameters

ti
Type: CMS.PortalEnginePageTemplateInfo
Template info
dpi
Type: CMS.DeviceProfilesDeviceProfileInfo
Current device profile info
type
Type: CMS.PortalEnginePageTemplateLayoutTypeEnum
Template layout type

Return Value

Type: Object
See Also