# OneNotePageBatchRenderingOptions

Selection and rendering options for section- and notebook-level page image export.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNotePageBatchRenderingOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Imaging/OneNotePageBatchRenderingOptions.cs#L8)

**Base**

`OneNotePageRenderingOptions`

**Modifiers**

sealed

Selection and rendering options for section- and notebook-level page image export.

## Inheritance

- OfficeImageExportOptions
- [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)
- OneNotePageBatchRenderingOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Convert OneNote to PDF, HTML, Markdown and Images](/docs/onenote/export-and-convert/) Guide
  
  Convert OneNote sections and notebooks to PDF, HTML or Markdown, render pages to PNG, TIFF or SVG images, and extract chunks for search, all offline.

## Usage

Explore 12 API references to this type

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

### Accepted by parameters 12

- Method [OneNoteImageExportExtensions.SaveAsImages](/api/onenote/officeimo-onenote-onenoteimageexportextensions/#method-saveasimages-officeimo-onenote-onenotesection-string-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Method [OneNoteImageExportExtensions.SaveAsImagesAsync](/api/onenote/officeimo-onenote-onenoteimageexportextensions/#method-saveasimagesasync-officeimo-onenote-onenotesection-string-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Method [OneNoteImageExportExtensions.ToImages](/api/onenote/officeimo-onenote-onenoteimageexportextensions/#method-toimages-officeimo-onenote-onenotesection-officeimo-drawing-officeimageexportformat-officeimo-onenote-onenotepagebatchrenderingoptions) parameter `options`
- Method [OneNoteImageExportExtensions.ToImagesAsync](/api/onenote/officeimo-onenote-onenoteimageexportextensions/#method-toimagesasync-officeimo-onenote-onenotenotebook-officeimo-drawing-officeimageexportformat-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Extension method [OneNoteNotebook.SaveAsImages](/api/onenote/officeimo-onenote-onenotenotebook/#extension-saveasimages-officeimo-onenote-onenotenotebook-string-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Extension method [OneNoteNotebook.SaveAsImagesAsync](/api/onenote/officeimo-onenote-onenotenotebook/#extension-saveasimagesasync-officeimo-onenote-onenotenotebook-string-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Extension method [OneNoteNotebook.ToImages](/api/onenote/officeimo-onenote-onenotenotebook/#extension-toimages-officeimo-onenote-onenotenotebook-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Extension method [OneNoteNotebook.ToImagesAsync](/api/onenote/officeimo-onenote-onenotenotebook/#extension-toimagesasync-officeimo-onenote-onenotenotebook-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Extension method [OneNoteSection.SaveAsImages](/api/onenote/officeimo-onenote-onenotesection/#extension-saveasimages-officeimo-onenote-onenotesection-string-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Extension method [OneNoteSection.SaveAsImagesAsync](/api/onenote/officeimo-onenote-onenotesection/#extension-saveasimagesasync-officeimo-onenote-onenotesection-string-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`
- Extension method [OneNoteSection.ToImages](/api/onenote/officeimo-onenote-onenotesection/#extension-toimages-officeimo-onenote-onenotesection-officeimo-drawing-officeimageexportformat-officeimo-onenote-onenotepagebatchrenderingoptions) parameter `options`
- Extension method [OneNoteSection.ToImagesAsync](/api/onenote/officeimo-onenote-onenotesection/#extension-toimagesasync-officeimo-onenote-onenotesection-officeimo-drawing-officeimageexportformat-officeimo-drawing-officeimageexportasyncconsumer-officeimo-onenote-onenotepagebatchrenderingoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public OneNotePageBatchRenderingOptions()` [#](#constructor-ctor)

## Inherited Methods

`public OneNotePageRenderingOptions Clone()` [#](#method-clone)

[OneNotePageRenderingOptions.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L68)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

Returns

`OneNotePageRenderingOptions`

`public OfficeImageExportResult EnsureAccepted(OfficeImageExportResult result)` [#](#method-ensureaccepted-officeimageexportresult)

Inherited from OfficeImageExportOptions

Parameters

**result OfficeImageExportResult required**

Returns

`OfficeImageExportResult`

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public double GetEffectiveScale(double logicalWidth, double logicalHeight)` [#](#method-geteffectivescale-double-double)

Inherited from OfficeImageExportOptions

Parameters

**logicalWidth double required**

**logicalHeight double required**

Returns

`double`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int PageIndex { get; set; }` [#](#property-pageindex)

[OneNotePageBatchRenderingOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Imaging/OneNotePageBatchRenderingOptions.cs#L8)

Zero-based first page index in the flattened page sequence.

`public int? PageCount { get; set; }` [#](#property-pagecount)

[OneNotePageBatchRenderingOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Imaging/OneNotePageBatchRenderingOptions.cs#L11)

Maximum number of pages to export, or all remaining pages when absent.

## Inherited Properties

`public override double LogicalUnitsPerInch { get; }` [#](#property-logicalunitsperinch)

[OneNotePageRenderingOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L14)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public bool IncludeTitle { get; set; }` [#](#property-includetitle)

[OneNotePageRenderingOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L17)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public bool IncludeImages { get; set; }` [#](#property-includeimages)

[OneNotePageRenderingOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L20)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public bool IncludeInk { get; set; }` [#](#property-includeink)

[OneNotePageRenderingOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L23)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public bool IncludeMath { get; set; }` [#](#property-includemath)

[OneNotePageRenderingOptions.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L26)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public bool IncludeAttachmentPlaceholders { get; set; }` [#](#property-includeattachmentplaceholders)

[OneNotePageRenderingOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L29)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public long MaxImageBytes { get; set; }` [#](#property-maximagebytes)

[OneNotePageRenderingOptions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L32)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public double MaximumImageDimensionPoints { get; set; }` [#](#property-maximumimagedimensionpoints)

[OneNotePageRenderingOptions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L35)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public double AutomaticPageWidthPoints { get; set; }` [#](#property-automaticpagewidthpoints)

[OneNotePageRenderingOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L38)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public double AutomaticPageHeightPoints { get; set; }` [#](#property-automaticpageheightpoints)

[OneNotePageRenderingOptions.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L41)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public double AutomaticPagePaddingPoints { get; set; }` [#](#property-automaticpagepaddingpoints)

[OneNotePageRenderingOptions.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L44)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public OfficeFontInfo DefaultFont { get; set; }` [#](#property-defaultfont)

[OneNotePageRenderingOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L47)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public OfficeInkRenderOptions Ink { get; set; }` [#](#property-ink)

[OneNotePageRenderingOptions.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L50)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public OfficeMathRenderOptions Math { get; set; }` [#](#property-math)

[OneNotePageRenderingOptions.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Rendering/OneNotePageRenderingOptions.cs#L53)

Inherited from [OneNotePageRenderingOptions](/api/onenote/officeimo-onenote-onenotepagerenderingoptions/)

`public OfficeImageExportFormat Format { get; set; }` [#](#property-format)

Inherited from OfficeImageExportOptions

`public OfficePageSelector? PageSelector { get; set; }` [#](#property-pageselector)

Inherited from OfficeImageExportOptions

`public OfficeImageExportFileConflictPolicy FileConflictPolicy { get; set; }` [#](#property-fileconflictpolicy)

Inherited from OfficeImageExportOptions

`public bool FailOnLoss { get; set; }` [#](#property-failonloss)

Inherited from OfficeImageExportOptions

`public OfficeChartRenderOptions ChartRendering { get; set; }` [#](#property-chartrendering)

Inherited from OfficeImageExportOptions

`public double Scale { get; set; }` [#](#property-scale)

Inherited from OfficeImageExportOptions

`public int? MaximumOutputWidth { get; set; }` [#](#property-maximumoutputwidth)

Inherited from OfficeImageExportOptions

`public int? MaximumOutputHeight { get; set; }` [#](#property-maximumoutputheight)

Inherited from OfficeImageExportOptions

`public OfficeColor BackgroundColor { get; set; }` [#](#property-backgroundcolor)

Inherited from OfficeImageExportOptions

`public OfficeRasterEncodingOptions RasterEncoding { get; set; }` [#](#property-rasterencoding)

Inherited from OfficeImageExportOptions

`public bool SvgTextAsPaths { get; set; }` [#](#property-svgtextaspaths)

Inherited from OfficeImageExportOptions

`public long MaximumRasterPixels { get; set; }` [#](#property-maximumrasterpixels)

Inherited from OfficeImageExportOptions

`public OfficeRasterOverflowBehavior RasterOverflowBehavior { get; set; }` [#](#property-rasteroverflowbehavior)

Inherited from OfficeImageExportOptions

`public IOfficeRasterImageCodec? ImageCodec { get; set; }` [#](#property-imagecodec)

Inherited from OfficeImageExportOptions

`public double? TargetDpi { get; set; }` [#](#property-targetdpi)

Inherited from OfficeImageExportOptions

`public OfficeFontFaceCollection Fonts { get; set; }` [#](#property-fonts)

Inherited from OfficeImageExportOptions

`public IOfficeTextShapingProvider? TextShapingProvider { get; set; }` [#](#property-textshapingprovider)

Inherited from OfficeImageExportOptions

`public string? TextShapingLanguage { get; set; }` [#](#property-textshapinglanguage)

Inherited from OfficeImageExportOptions

`public OfficeImageExportPolicy Policy { get; set; }` [#](#property-policy)

Inherited from OfficeImageExportOptions

`public IProgress<OfficeImageExportProgress>? Progress { get; set; }` [#](#property-progress)

Inherited from OfficeImageExportOptions

`public int MaximumOutputCount { get; set; }` [#](#property-maximumoutputcount)

Inherited from OfficeImageExportOptions

`public long MaximumTotalRasterPixels { get; set; }` [#](#property-maximumtotalrasterpixels)

Inherited from OfficeImageExportOptions

`public long MaximumTotalEncodedBytes { get; set; }` [#](#property-maximumtotalencodedbytes)

Inherited from OfficeImageExportOptions

`public TimeSpan RenderTimeout { get; set; }` [#](#property-rendertimeout)

Inherited from OfficeImageExportOptions

`public int MaximumDegreeOfParallelism { get; set; }` [#](#property-maximumdegreeofparallelism)

Inherited from OfficeImageExportOptions

<!-- PowerForge markdown artifact sha256:A558D725F420653AE3ED9D5E69A8EAF8F233972247D403A25CDDEDA21F52D86A -->
