| 
    VectSharp 2.6.1
    
   A light library for C# vector graphics 
   | 
 
Represents the current status of the Markdown rendering process. More...
Public Member Functions | |
| MarkdownContext | Clone () | 
| Create an independent copy of the current MarkdownContext.   More... | |
| double | GetMaxX (double y, double pageMaxX) | 
| Get the maximum x value for text drawn at the specified y  position.   More... | |
| double | GetMaxX (double y0, double y1, double pageMaxX) | 
| Get the maximum x value for text that will extend from y0  to y1 .   More... | |
| double | GetMinX (double y) | 
| Get the minimum x value at which text can start at the specified y  position.   More... | |
| double | GetMinX (double y0, double y1) | 
| Get the minimum x value for text that will extend from y0  to y1 .   More... | |
| void | StartNewPage (Page newPag) | 
| Start a new page in the document.   More... | |
Properties | |
| Font | Font [get, set] | 
| The current font.   More... | |
| Point | Cursor [get, set] | 
| The current position of the cursor.   More... | |
| Colour | Colour [get, set] | 
| The current text colour.   More... | |
| bool | Underline [get, set] | 
| Whether text is currently underlined.   More... | |
| bool | StrikeThrough [get, set] | 
| Whether text is currently struck out.   More... | |
| Point | Translation [get, set] | 
| Translation for the current text block.   More... | |
| Point | BottomRight [get, set] | 
| The coordinates of the bottom right corner of the last rendered text element.   More... | |
| Point | MarginBottomRight [get, set] | 
| The current margin on the bottom right.   More... | |
| int | ListDepth [get, set] | 
| The current list depth (for bullet lists and numbered lists).   More... | |
| List<(double MaxX, double MinY, double MaxY)> | ForbiddenAreasRight [get, set] | 
| A list of areas on which text cannot be drawn (because they contain a right-aligned image). Each element of this list specifies a maximum x value (first element) and a y range (second and third element). Within the specified y range, text cannot extend beyond the maximum x value.   More... | |
| List<(double MinX, double MinY, double MaxY)> | ForbiddenAreasLeft [get, set] | 
| A list of areas on which text cannot be drawn (because they contain a left-aligned image). Each element of this list specifies a minimum x value (first element) and a y range (second and third element). Within the specified y range, text starts at the minimum x value.   More... | |
| Page | CurrentPage [get, set] | 
| The Page on which the document is being rendered.   More... | |
| string | Tag = null [get, set] | 
| The current tag.   More... | |
| Dictionary< string, string > | LinkDestinations = new Dictionary<string, string>() [get, set] | 
| A dictionary used to associate graphic action tags to hyperlinks.   More... | |
| Dictionary< string, string > | InternalAnchors = new Dictionary<string, string>() [get, set] | 
| A dictionary used to associate internal html anchors (e.g., "#something") to graphics action tags.   More... | |
| List<(int level, string heading, string tag)> | Headings = new List<(int level, string heading, string tag)>() [get] | 
| The list of headings defined in the document.   More... | |
| Line | CurrentLine [get, set] | 
| The current line being drawn.   More... | |
Represents the current status of the Markdown rendering process.
Definition at line 26 of file MarkdownContext.cs.
| MarkdownContext VectSharp.Markdown.MarkdownContext.Clone | ( | ) | 
Create an independent copy of the current MarkdownContext.
Definition at line 166 of file MarkdownContext.cs.
| double VectSharp.Markdown.MarkdownContext.GetMaxX | ( | double | y, | 
| double | pageMaxX | ||
| ) | 
Get the maximum x value for text drawn at the specified y position.
| y | The vertical position at which text should be drawn. | 
| pageMaxX | The overall maximum x value for the page, after taking margins into account. | 
Definition at line 195 of file MarkdownContext.cs.
| double VectSharp.Markdown.MarkdownContext.GetMaxX | ( | double | y0, | 
| double | y1, | ||
| double | pageMaxX | ||
| ) | 
Get the maximum x value for text that will extend from y0 to y1 .
| y0 | The vertical position of the start of the text block. | 
| y1 | The vertical position of the end of the text block. | 
| pageMaxX | The overall maximum x value for the page, after taking margins into account. | 
Definition at line 219 of file MarkdownContext.cs.
| double VectSharp.Markdown.MarkdownContext.GetMinX | ( | double | y | ) | 
Get the minimum x value at which text can start at the specified y position.
| y | The vertical position at which text should be drawn. | 
Definition at line 242 of file MarkdownContext.cs.
| double VectSharp.Markdown.MarkdownContext.GetMinX | ( | double | y0, | 
| double | y1 | ||
| ) | 
Get the minimum x value for text that will extend from y0 to y1 .
| y0 | The vertical position of the start of the text block. | 
| y1 | The vertical position of the end of the text block. | 
Definition at line 265 of file MarkdownContext.cs.
| void VectSharp.Markdown.MarkdownContext.StartNewPage | ( | Page | newPag | ) | 
Start a new page in the document.
| newPag | The new page on which the rest of the document should be drawn. | 
Definition at line 287 of file MarkdownContext.cs.
      
  | 
  getset | 
The coordinates of the bottom right corner of the last rendered text element.
Definition at line 97 of file MarkdownContext.cs.
      
  | 
  getset | 
The current text colour.
Definition at line 59 of file MarkdownContext.cs.
      
  | 
  getset | 
The current line being drawn.
Definition at line 151 of file MarkdownContext.cs.
      
  | 
  getset | 
The Page on which the document is being rendered.
Definition at line 126 of file MarkdownContext.cs.
      
  | 
  getset | 
The current position of the cursor.
Definition at line 38 of file MarkdownContext.cs.
      
  | 
  getset | 
The current font.
Definition at line 31 of file MarkdownContext.cs.
      
  | 
  getset | 
A list of areas on which text cannot be drawn (because they contain a left-aligned image). Each element of this list specifies a minimum x value (first element) and a y range (second and third element). Within the specified y range, text starts at the minimum x value.
Definition at line 121 of file MarkdownContext.cs.
      
  | 
  getset | 
A list of areas on which text cannot be drawn (because they contain a right-aligned image). Each element of this list specifies a maximum x value (first element) and a y range (second and third element). Within the specified y range, text cannot extend beyond the maximum x value.
Definition at line 114 of file MarkdownContext.cs.
      
  | 
  get | 
The list of headings defined in the document.
Definition at line 146 of file MarkdownContext.cs.
      
  | 
  getset | 
A dictionary used to associate internal html anchors (e.g., "#something") to graphics action tags.
Definition at line 141 of file MarkdownContext.cs.
      
  | 
  getset | 
A dictionary used to associate graphic action tags to hyperlinks.
Definition at line 136 of file MarkdownContext.cs.
      
  | 
  getset | 
The current list depth (for bullet lists and numbered lists).
Definition at line 107 of file MarkdownContext.cs.
      
  | 
  getset | 
The current margin on the bottom right.
Definition at line 102 of file MarkdownContext.cs.
      
  | 
  getset | 
Whether text is currently struck out.
Definition at line 69 of file MarkdownContext.cs.
      
  | 
  getset | 
The current tag.
Definition at line 131 of file MarkdownContext.cs.
      
  | 
  getset | 
Translation for the current text block.
Definition at line 76 of file MarkdownContext.cs.
      
  | 
  getset | 
Whether text is currently underlined.
Definition at line 64 of file MarkdownContext.cs.