PdfInlineBuilder Class
Builds the runs of text of a paragraph of a flow document, each with its style.
public sealed class PdfInlineBuilderMethods
| Name | Description |
|---|---|
| LineBreak() | Breaks the line. |
| Link(string, Uri, PdfTextStyle?) | Adds text that is a link to a URI: a link annotation over the text, tagged as a link. |
| Text(string, PdfTextStyle?) | Adds text. |
LineBreak()
PdfInlineBuilder.csLink(string, Uri, PdfTextStyle?)
PdfInlineBuilder.csAdds text that is a link to a URI: a link annotation over the text, tagged as a link.
public PdfInlineBuilder Link(string text, Uri uri, PdfTextStyle? style = null)Parameters
textstring- The text.
uriUri- The absolute URI.
stylePdfTextStyle?- The style of the text, or
nullfor blue.
Returns
PdfInlineBuilder The builder.
Exceptions
ArgumentException- The URI is not absolute.
Text(string, PdfTextStyle?)
PdfInlineBuilder.csAdds text.
public PdfInlineBuilder Text(string text, PdfTextStyle? style = null)Parameters
textstring- The text. A line feed breaks the line.
stylePdfTextStyle?- The style of the text, or
nullfor the style of the paragraph.
Returns
PdfInlineBuilder The builder.