OneNotePageRenderingOptions
OfficeIMO.OneNote
Controls dependency-free OneNote page layout, rendering, and image export.
Inheritance
- OfficeImageExportOptions
- OneNotePageRenderingOptions
Derived Types
Usage
Explore 14 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.
Returned or exposed by 2
Accepted by parameters 12
- Method OneNoteImageExportExtensions.SaveAsImage
- Method OneNoteImageExportExtensions.SaveAsImageAsync
- Method OneNoteImageExportExtensions.ToDrawing
- Method OneNoteImageExportExtensions.ToImage
- Method OneNoteImageExportExtensions.ToImageAsync
- Extension method OneNotePage.SaveAsImage
- Extension method OneNotePage.SaveAsImageAsync
- Extension method OneNotePage.ToDrawing
- Extension method OneNotePage.ToImage
- Extension method OneNotePage.ToImageAsync
- Method OneNotePageRenderer.CreateSnapshot
- Method OneNotePageRenderer.Render
Constructors
public OneNotePageRenderingOptions() #Methods
public OneNotePageRenderingOptions Clone() #Creates a detached copy.
Returns
OneNotePageRenderingOptionsInherited Methods
public OfficeImageExportResult EnsureAccepted(OfficeImageExportResult result) #Parameters
- result OfficeImageExportResult
Returns
OfficeImageExportResultpublic double GetEffectiveScale(double logicalWidth, double logicalHeight) #Parameters
- logicalWidth double
- logicalHeight double
Returns
doubleProperties
public override double LogicalUnitsPerInch { get; } #Logical document units represented by one inch. Point-based adapters override with 72.
public bool IncludeTitle { get; set; } #Whether the page title is rendered.
public bool IncludeImages { get; set; } #Whether embedded pictures, including printout backgrounds, are rendered.
public bool IncludeInk { get; set; } #Whether native ink strokes are rendered.
public bool IncludeMath { get; set; } #Whether structured mathematical expressions are typeset.
public bool IncludeAttachmentPlaceholders { get; set; } #Whether attachment and recording placeholders are rendered.
public long MaxImageBytes { get; set; } #Maximum bytes materialized from any single lazy image payload.
public double MaximumImageDimensionPoints { get; set; } #Maximum logical width or height inferred from an embedded image header, in points.
public double AutomaticPageWidthPoints { get; set; } #Minimum width used for automatically sized pages, in points.
public double AutomaticPageHeightPoints { get; set; } #Minimum height used for automatically sized pages, in points.
public double AutomaticPagePaddingPoints { get; set; } #Extra space retained beyond inferred content bounds, in points.
public OfficeFontInfo DefaultFont { get; set; } #Default body font used when a OneNote run does not name one.
public OfficeInkRenderOptions Ink { get; set; } #Reusable ink-rendering settings.
public OfficeMathRenderOptions Math { get; set; } #Reusable mathematical-rendering settings.
Inherited Properties
public OfficeImageExportFormat Format { get; set; } #public OfficePageSelector? PageSelector { get; set; } #public OfficeImageExportFileConflictPolicy FileConflictPolicy { get; set; } #public bool FailOnLoss { get; set; } #public OfficeChartRenderOptions ChartRendering { get; set; } #public double Scale { get; set; } #public int? MaximumOutputWidth { get; set; } #public int? MaximumOutputHeight { get; set; } #public OfficeColor BackgroundColor { get; set; } #public OfficeRasterEncodingOptions RasterEncoding { get; set; } #public bool SvgTextAsPaths { get; set; } #public long MaximumRasterPixels { get; set; } #public OfficeRasterOverflowBehavior RasterOverflowBehavior { get; set; } #public IOfficeRasterImageCodec? ImageCodec { get; set; } #public double? TargetDpi { get; set; } #public OfficeFontFaceCollection Fonts { get; set; } #public IOfficeTextShapingProvider? TextShapingProvider { get; set; } #public string? TextShapingLanguage { get; set; } #public OfficeImageExportPolicy Policy { get; set; } #public IProgress<OfficeImageExportProgress>? Progress { get; set; } #public int MaximumOutputCount { get; set; } #public long MaximumTotalRasterPixels { get; set; } #public long MaximumTotalEncodedBytes { get; set; } #public TimeSpan RenderTimeout { get; set; } #public int MaximumDegreeOfParallelism { get; set; } #Fields
public const double DefaultMaximumImageDimensionPoints #Default maximum logical width or height contributed by one embedded image.
14400