MagicCMS Documentation

MagicPost..::..HomePanel Method

Returns a formatted panel (div) with an image and links to the post.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public HtmlGenericControl HomePanel(
	int imgWidth,
	int imgHeight,
	string cssClass,
	int maxLen,
	int maxTitleLen
)

Parameters

imgWidth
Type: Int32
Width of the thumbnail.
imgHeight
Type: Int32
Height of the thumbnail.
cssClass
Type: String
The
C#
DIV
CSS class.
maxLen
Type: Int32
Maximum length of the description.
maxTitleLen
Type: Int32
Maximum length of the title.

Return Value

HtmlGenericControl.