Class Renderer
- Namespace
- Dynamicweb.EmailMarketing
- Assembly
- Dynamicweb.EmailMarketing.dll
Represents email renderer
public sealed class Renderer
- Inheritance
-
Renderer
- Inherited Members
Methods
BuildPageHtml(int, PageViewContext?)
Builds the page view.
public static string BuildPageHtml(int intPageID, PageViewContext? pageviewContext)
Parameters
intPageIDintThe int page ID.
pageviewContextPageViewContextThe PageViewContext
Returns
- string
The page view
BuildPageHtml(int, PageViewContext?, Uri?)
Builds the page view.
public static string BuildPageHtml(int intPageID, PageViewContext? pageviewContext, Uri? domainUrl)
Parameters
intPageIDintThe int page ID.
pageviewContextPageViewContextThe PageViewContext
domainUrlUriThe domain URL
Returns
- string
The page view
RenderPageContent(Email)
Renders the content of the page.
public static string RenderPageContent(Email email)
Parameters
emailEmailThe 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
emailEmailThe email.
pageviewContextPageViewContextThe PageViewContext
Returns
- string
The html content of email
Exceptions
- ArgumentNullException
The
emailis null.
RenderPlaceholderContent(string, int, string, string, string, string)
public static string RenderPlaceholderContent(string content, int recipientID, string token, string domainUrl, string name, string email)