Class Renderer
- Namespace
- Dynamicweb.EmailMarketing
- Assembly
- Dynamicweb.EmailMarketing.dll
Represents email renderer
public sealed class Renderer
- Inheritance
-
Renderer
- Inherited Members
Methods
BuildPageHtml(int, string)
Builds the page view.
public static string BuildPageHtml(int intPageID, string template)
Parameters
Returns
- string
The page view
BuildPageHtml(int, string, PageViewContext)
Builds the page view.
public static string BuildPageHtml(int intPageID, string template, PageViewContext pageviewContext)
Parameters
intPageID
intThe int page ID.
template
stringThe template.
pageviewContext
PageViewContextThe PageViewContext
Returns
- string
The page view
RenderPageContent(Email)
Renders the content of the page.
public static string RenderPageContent(Email email)
Parameters
email
EmailThe email.
Returns
- string
The html content of email
RenderPageContent(Email, PageViewContext)
Renders the content of the page.
public static string RenderPageContent(Email email, PageViewContext pageviewContext)
Parameters
email
EmailThe email.
pageviewContext
PageViewContextThe PageViewContext
Returns
- string
The html content of email
RenderPlaceholderContent(string, int, string, string, string, string)
public static string RenderPlaceholderContent(string content, int recipientID, string token, string domainUrl, string name, string email)