OfficeIMO

API Reference

Class

HeaderContentBuilder

Namespace OfficeIMO.Word.Fluent
Assembly OfficeIMO.Word

Allows adding content to a specific header.

Inheritance

  • Object
  • HeaderContentBuilder

Methods

public HeaderContentBuilder Image(String path, Nullable<Double> width = null, Nullable<Double> height = null, WrapTextImage wrapImage = InLineWithText, String description = "") #
Returns: HeaderContentBuilder

Adds an image to the header.

Parameters

path System.String requiredposition: 0
width System.Nullable{System.Double} = null optionalposition: 1
height System.Nullable{System.Double} = null optionalposition: 2
wrapImage OfficeIMO.Word.WrapTextImage = InLineWithText optionalposition: 3
description System.String = "" optionalposition: 4
Paragraph 2 overloads
public HeaderContentBuilder Paragraph(Action<ParagraphBuilder> action) #
Returns: HeaderContentBuilder

Adds a paragraph with the specified text.

Parameters

text System.String requiredposition: 0
Paragraph(System.Action{OfficeIMO.Word.Fluent.ParagraphBuilder} action) #

Adds a paragraph configured using the supplied action.

Parameters

action System.Action{OfficeIMO.Word.Fluent.ParagraphBuilder} required
public HeaderContentBuilder Table(Int32 rows, Int32 columns, WordTableStyle tableStyle = TableGrid, Action<WordTable> configure = null) #
Returns: HeaderContentBuilder

Adds a table to the header.

Parameters

rows System.Int32 requiredposition: 0
columns System.Int32 requiredposition: 1
tableStyle OfficeIMO.Word.WordTableStyle = TableGrid optionalposition: 2
configure System.Action{OfficeIMO.Word.WordTable} = null optionalposition: 3