EmailImageExportOptions
OfficeIMO.Email
HTML-backed email image-export options.
Inheritance
- HtmlRenderOptions
- EmailImageExportOptions
Usage
Explore 9 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 1
Accepted by parameters 8
- Method EmailImageExportExtensions.SaveAsImage
- Method EmailImageExportExtensions.SaveAsImageAsync
- Method EmailImageExportExtensions.SaveAsImages
- Method EmailImageExportExtensions.SaveAsImagesAsync
- Method EmailImageExportExtensions.ToImage
- Method EmailImageExportExtensions.ToImageAsync
- Method EmailImageExportExtensions.ToImages
- Method EmailImageExportExtensions.ToImagesAsync
Constructors
public EmailImageExportOptions() #Creates a continuous message preview; paged output remains available through the shared mode setting.
Methods
public override HtmlRenderOptions Clone() #Creates an independent options snapshot.
Returns
HtmlRenderOptionspublic EmailImageExportOptions CloneEmail() #Creates an independent email options snapshot.
Returns
EmailImageExportOptionsInherited Methods
public OfficeImageExportResult EnsureAccepted(OfficeImageExportResult result) #Parameters
- result OfficeImageExportResult
Returns
OfficeImageExportResultpublic double GetEffectiveScale(double logicalWidth, double logicalHeight) #Parameters
- logicalWidth double
- logicalHeight double
Returns
doublepublic HtmlRenderOptions UseBrowserUserAgentStyles() #Returns
HtmlRenderOptionspublic HtmlRenderOptions UseTextHyphenationLexicon(OfficeTextHyphenationLexicon? lexicon) #Parameters
- lexicon OfficeTextHyphenationLexicon?
Returns
HtmlRenderOptionsProperties
public bool IncludeMessageHeaders { get; set; } #Renders subject, sender, recipients, and date above the message body.
public bool PreferHtmlBody { get; set; } #Uses the HTML body when available before falling back to RTF or plain text.
public bool IncludeInlineResources { get; set; } #Allows MIME related attachments to satisfy content-id and content-location image references.
public EmailRemoteResourcePolicy RemoteResourcePolicy { get; set; } #Controls whether network resources remain eligible for an explicitly configured resolver.
public int MaxInlineResourceCount { get; set; } #Maximum inline resources indexed for one export.
public long MaxTotalInlineResourceBytes { get; set; } #Maximum bytes read across all inline resources for one export.
Inherited Properties
public int PageIndex { get; set; } #public IReadOnlyList<int>? PageSelection { get; set; } #public HtmlRenderMode Mode { get; set; } #public HtmlRenderFidelityPolicy FidelityPolicy { get; set; } #public bool? ProjectSerializedShadowRoots { get; set; } #public double ViewportWidth { get; set; } #public double? ViewportHeight { get; set; } #public OfficePageSize PageSize { get; set; } #public bool HonorCssPageRules { get; set; } #public HtmlRenderMargins Margins { get; set; } #public string DefaultFontFamily { get; set; } #public bool AllowSystemFontFallback { get; set; } #public double DefaultFontSize { get; set; } #public double DefaultLineHeight { get; set; } #public HtmlRenderUserAgentStyleMode UserAgentStyles { get; set; } #public OfficeTextHyphenationCallback? TextHyphenationCallback { get; set; } #public HtmlRenderMediaFeatures MediaFeatures { get; set; } #public IList<string> AdditionalStylesheets { get; } #public Uri? BaseUri { get; set; } #public HtmlUrlPolicy UrlPolicy { get; set; } #public HtmlUrlPolicy? ResourceUrlPolicy { get; set; } #public HtmlRenderResourceResolver? ResourceResolver { get; set; } #public TimeSpan ResourceTimeout { get; set; } #public int MaxConcurrentResourceLoads { get; set; } #public long MaxResourceBytes { get; set; } #public long MaxTotalResourceBytes { get; set; } #public int MaxResourceCount { get; set; } #public int MaxResourceRequests { get; set; } #public int MaxStylesheetImportDepth { get; set; } #public int MaxSurfaceWidth { get; set; } #public int MaxSurfaceHeight { get; set; } #public int MaxPageCount { get; set; } #public int MaxProjectedVisuals { get; set; } #public int MaxLayoutDepth { get; set; } #public int MaxInputCharacters { get; set; } #public int MaxHtmlNodes { get; set; } #public int MaxBackgroundImageTiles { get; set; } #public int MaxBackgroundImageLayers { get; set; } #public int MaxBoxShadowLayers { get; set; } #public int MaxTextShadowLayers { get; set; } #public int MaxLeaderCharacters { get; set; } #public int MaxSvgForeignObjectDepth { get; set; } #public int MaxSvgForeignObjectHtmlNodes { get; set; } #public int MaxFrameDepth { get; set; } #public int MaxGradientStops { get; set; } #public int ConicGradientQualitySegments { get; set; } #public int MaxGridTracks { get; set; } #public int MaxColumnCount { get; set; } #public int MaxTableRows { get; set; } #public int MaxTableColumns { get; set; } #public int MaxCollapsedTableBorderSegments { get; set; } #public int MaxLayoutOperations { get; set; } #public int MaxRunningStringCharacters { get; set; } #public HtmlCssMediaContext MediaContext { get; } #public double PageWidth { get; } #public double PageHeight { get; } #public OfficeImageExportFormat Format { get; set; } #public OfficePageSelector? PageSelector { get; set; } #public OfficeImageExportFileConflictPolicy FileConflictPolicy { get; set; } #public bool FailOnLoss { 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; } #public virtual double LogicalUnitsPerInch { get; } #