API Reference

Class

HeaderContentBuilder

Namespace OfficeIMO.Word.Fluent
Assembly OfficeIMO.Word

Allows adding content to a specific header.

Inheritance

  • Object
  • HeaderContentBuilder

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public HeaderContentBuilder Image(String path, Nullable<Double> width = null, Nullable<Double> height = null, WordImageTextWrapping 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.WordImageTextWrapping = InLineWithText optionalposition: 3
description System.String = "" optionalposition: 4
Paragraph 2 overloads
public HeaderContentBuilder Paragraph(String text) #
Returns: HeaderContentBuilder

Adds a paragraph with the specified text.

Parameters

text System.String requiredposition: 0
public HeaderContentBuilder Paragraph(Action<WordParagraphBuilder> action) #
Returns: HeaderContentBuilder

Adds a paragraph configured using the supplied action.

Parameters

action System.Action{OfficeIMO.Word.Fluent.WordParagraphBuilder} requiredposition: 0
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