Constructors
GH_HtmlWriter
#public GH_HtmlWriter()
Properties
Methods
ComposeHTMLDocument
#Compose a complete html document based on the current Title, CSS style sheet and html body content.
Parameters:
| cssBodyStyles (params GH_CssStyle[]) | CSS styles to apply to the Body tag. |
Returns: A string representing the full html document.
ComposeHTMLDocument
#Compose a complete html document based on the current Title, CSS style sheet and html body content.
Parameters:
| cssBodyStyles (params string[]) | CSS styles to apply to the Body tag. |
Returns: A string representing the full html document.
WriteDivStart
#Write the start of a Div block.
Parameters:
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |
WriteDivStart
#Write the start of a Div block.
Parameters:
| cssClasses (params string[]) | CSS style names to apply to this tag. These styles must be part of the document style sheet before the final Html is composed. |
WriteHorizontalGradient
#Write a collection of horizontal div blocks with a gradient colour.
WriteHorizontalRule
#public void WriteHorizontalRule()
Write a horizontal rule into the Html document.
WriteHorizontalRule
#Write a horizontal rule into the Html document.
Parameters:
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |
WriteHorizontalRule
#Write a horizontal rule into the Html document.
Parameters:
| cssClasses (params string[]) | CSS style names to apply to this tag. These styles must be part of the document style sheet before the final Html is composed. |
WriteLineBreak
#public void WriteLineBreak()
Write a line break into the Html document. Ideally you should achieve formatting using div tags, not line breaks.
WriteLink
#Write a link to the Html document.
Parameters:
| target (string) | Link target (url) |
| name (string) | Link text. |
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |
WriteLink
#Write a link to the Html document.
WriteLink
#Write a link to the Html document.
WriteListItem
#WriteListItemStart
#Write the start of a list item element.
Parameters:
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |
WriteListItemStart
#Write the start of a list item element.
Parameters:
| cssClasses (params string[]) | CSS style names to apply to this tag. These styles must be part of the document style sheet before the final Html is composed. |
WriteOrderedListStart
#Write the start an unordered list section.
Parameters:
| start (int) | First number in list. |
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |
WriteOrderedListStart
#Write the start an unordered list section.
WriteOrderedListStart
#Write the start an unordered list section.
Parameters:
| start (int) | First number in list. |
WritePreStart
#Write the start of a Preformatted text block.
Parameters:
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |
WritePreStart
#Write the start of a Preformatted text block.
Parameters:
| cssClasses (params string[]) | CSS style names to apply to this tag. These styles must be part of the document style sheet before the final Html is composed. |
WriteSpanStart
#Write the start of a Span section.
Parameters:
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |
WriteSpanStart
#Write the start of a Span section.
Parameters:
| cssClasses (params string[]) | CSS style names to apply to this tag. These styles must be part of the document style sheet before the final Html is composed. |
WriteText
#Write a section of text to the Html document.
Parameters:
| text (string) | Text to write. |
| properties (GH_HtmlTextProperties) | Standard Html formatting tag. |
WriteText
#Write a section of text to the Html document.
Parameters:
| text (string) | Text to write. |
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |
WriteText
#Write a section of text to the Html document.
WriteUnorderedListStart
#public void WriteUnorderedListStart()
Write the start an unordered list section.
WriteUnorderedListStart
#Write the start an unordered list section.
Parameters:
| cssClasses (params GH_CssStyle[]) | CSS styles to apply to this tag. |