Class Renderer
- Namespace
- Dynamicweb.EmailMarketing
- Assembly
- Dynamicweb.EmailMarketing.dll
Represents email renderer
public sealed class Renderer
- Inheritance
-
Renderer
- Inherited Members
Methods
BuildPageHtml(int)
Builds the page view.
public static string BuildPageHtml(int intPageID)
Parameters
intPageID
intThe int page ID.
Returns
- string
The page view
BuildPageHtml(int, PageViewContext?)
Builds the page view.
public static string BuildPageHtml(int intPageID, PageViewContext? pageviewContext)
Parameters
intPageID
intThe int page ID.
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
Exceptions
- ArgumentNullException
The
email
is null.
RenderPlaceholderContent(string, int, string, string, string, string)
public static string RenderPlaceholderContent(string content, int recipientID, string token, string domainUrl, string name, string email)