PdfTextRunFluent
OfficeIMO.Pdf
The fluent methods of PdfTextRun, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- PdfTextRunFluent
Methods
public static PdfTextRun BackgroundColor(PdfTextRun pdfTextRun, OfficeColor color) #Sets the background (highlight) colour of this run.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- color OfficeIMO.OfficeColor
- The value.
public static PdfTextRun Baseline(PdfTextRun pdfTextRun, PdfTextBaseline baseline) #Sets the baseline placement of this run.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- baseline OfficeIMO.Pdf.PdfTextBaseline
- The value.
public static PdfTextRun Bold(PdfTextRun pdfTextRun, bool bold = true) #Makes this run bold or regular weight.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- bold bool = true
- The value.
public static PdfTextRun CharacterSpacing(PdfTextRun pdfTextRun, OfficeLength spacing) #Sets the additional advance after each glyph of this text run. Zero is normal spacing; negative values condense the glyph advances.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- spacing OfficeIMO.OfficeLength
- The value.
public static PdfTextRun Color(PdfTextRun pdfTextRun, OfficeColor color) #Sets the foreground colour of this run.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- color OfficeIMO.OfficeColor
- The value.
public static PdfTextRun FeatureSettings(PdfTextRun pdfTextRun, OfficeTextFeatureSettings featureSettings) #Sets the OpenType feature selections of this run.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- featureSettings OfficeIMO.Drawing.OfficeTextFeatureSettings
- The value.
public static PdfTextRun FontFamily(PdfTextRun pdfTextRun, string fontFamily) #Sets the registered embedded font family of this run. PdfTextRun.StandardFont remains its fallback.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- fontFamily string
- The value.
public static PdfTextRun FontSize(PdfTextRun pdfTextRun, OfficeLength fontSize) #Sets the font size of this run.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- fontSize OfficeIMO.OfficeLength
- The value.
public static PdfTextRun HorizontalTextScaling(PdfTextRun pdfTextRun, double percentage) #Sets the horizontal glyph width percentage of this text run. 100 is normal width.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- percentage double
- The value.
public static PdfTextRun Italic(PdfTextRun pdfTextRun, bool italic = true) #Makes this run italic or upright.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- italic bool = true
- The value.
public static PdfTextRun StandardFont(PdfTextRun pdfTextRun, PdfStandardFont standardFont) #Sets the standard PDF font of this run.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- standardFont OfficeIMO.Pdf.PdfStandardFont
- The value.
public static PdfTextRun Strikethrough(PdfTextRun pdfTextRun, bool strikethrough = true) #Adds a single strikethrough to this run, or removes its strikethrough.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- strikethrough bool = true
- The value.
public static PdfTextRun Strikethrough(PdfTextRun pdfTextRun, OfficeTextDecorationStyle style) #Sets the strikethrough pattern of this run. OfficeTextDecorationStyle.None removes it.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- style OfficeIMO.Drawing.OfficeTextDecorationStyle
- The value.
public static PdfTextRun Subscript(PdfTextRun pdfTextRun) #Lowers this run to subscript.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
public static PdfTextRun Superscript(PdfTextRun pdfTextRun) #Raises this run to superscript.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
public static PdfTextRun Underline(PdfTextRun pdfTextRun, bool underline = true) #Adds a single underline to this run, or removes its underline.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- underline bool = true
- The value.
public static PdfTextRun Underline(PdfTextRun pdfTextRun, OfficeTextDecorationStyle style) #Sets the underline pattern of this run. OfficeTextDecorationStyle.None removes it.
Parameters
- pdfTextRun OfficeIMO.Pdf.PdfTextRun
- The instance.
- style OfficeIMO.Drawing.OfficeTextDecorationStyle
- The value.