PdfCreateOptionsFluent
OfficeIMO.Pdf
The fluent methods of PdfCreateOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- PdfCreateOptionsFluent
Methods
public static PdfCreateOptions AcroFormDefaultTextAlignment(PdfCreateOptions pdfCreateOptions, PdfFormFieldTextAlignment? alignment) #Sets or clears the generated AcroForm default text alignment emitted through /Q.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- alignment OfficeIMO.Pdf.PdfFormFieldTextAlignment?
- The value.
public static PdfCreateOptions AutomaticHyphenation(PdfCreateOptions pdfCreateOptions, string? language = null) #Hyphenates words at line ends with the embedded Liang patterns (US English and reformed German).
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- language string? = null
- A supported tag such as en-US or de-DE; null uses PdfCreateOptions.Language at layout time.
public static PdfCreateOptions BackgroundColor(PdfCreateOptions pdfCreateOptions, OfficeColor? value) #Sets PdfCreateOptions.BackgroundColor: Page background for new composition. An explicit null keeps the page transparent.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { BackgroundColor = value }; pdfCreateOptions.BackgroundColor(value);public static PdfCreateOptions BlackPreservationMode(PdfCreateOptions pdfCreateOptions, PdfBlackPreservationMode value) #Sets PdfCreateOptions.BlackPreservationMode: Black-preservation policy used for generated vector and text color conversion.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfBlackPreservationMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { BlackPreservationMode = value }; pdfCreateOptions.BlackPreservationMode(value);public static PdfCreateOptions CatalogPageLayout(PdfCreateOptions pdfCreateOptions, PdfCatalogPageLayout? pageLayout) #Sets or clears the generated catalog page layout.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- pageLayout OfficeIMO.Pdf.PdfCatalogPageLayout?
- The value.
public static PdfCreateOptions CatalogPageMode(PdfCreateOptions pdfCreateOptions, PdfCatalogPageMode? pageMode) #Sets or clears the generated catalog page mode.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- pageMode OfficeIMO.Pdf.PdfCatalogPageMode?
- The value.
public static PdfCreateOptions CatalogUriBase(PdfCreateOptions pdfCreateOptions, string? uriBase) #Sets or clears the generated catalog URI base used by viewers to resolve relative URI actions.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- uriBase string?
- The value.
public static PdfCreateOptions CatalogView(PdfCreateOptions pdfCreateOptions, PdfCatalogPageMode? pageMode = null, PdfCatalogPageLayout? pageLayout = null) #Sets generated catalog page mode and page layout viewer hints.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- pageMode OfficeIMO.Pdf.PdfCatalogPageMode? = null
- The value.
- pageLayout OfficeIMO.Pdf.PdfCatalogPageLayout? = null
- The value.
public static PdfCreateOptions ComplianceProfile(PdfCreateOptions pdfCreateOptions, PdfComplianceProfile value) #Sets PdfCreateOptions.ComplianceProfile: Requested generated-PDF compliance profile. Non-None profiles are validated strictly and fail until their required primitives are implemented.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfComplianceProfile
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { ComplianceProfile = value }; pdfCreateOptions.ComplianceProfile(value);public static PdfCreateOptions CompressContentStreams(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.CompressContentStreams: When true (the default), generated page content streams are written with Flate compression.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { CompressContentStreams = value }; pdfCreateOptions.CompressContentStreams(value);public static PdfCreateOptions CompressEmbeddedFonts(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.CompressEmbeddedFonts: When true, embedded TrueType font file streams are Flate-compressed while preserving their original /Length1 metadata.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { CompressEmbeddedFonts = value }; pdfCreateOptions.CompressEmbeddedFonts(value);public static PdfCreateOptions Configure(PdfCreateOptions pdfCreateOptions, Action<PdfCreateOptions> configure) #Assigns callbacks and related configuration without invoking delegate-valued properties.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfCreateOptions>
- Assignments applied in order.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { TextHyphenationCallback = value }; pdfCreateOptions.Configure(configured => configured.TextHyphenationCallback = value);// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { TextLineBreakCallback = value }; pdfCreateOptions.Configure(configured => configured.TextLineBreakCallback = value);public static PdfCreateOptions ConvertRasterImagesToPdfXPrintCondition(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.ConvertRasterImagesToPdfXPrintCondition: Converts supported generated raster images through the configured PDF/X CMYK output profile.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { ConvertRasterImagesToPdfXPrintCondition = value }; pdfCreateOptions.ConvertRasterImagesToPdfXPrintCondition(value);public static PdfCreateOptions ConvertVectorColorsToPdfXPrintCondition(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.ConvertVectorColorsToPdfXPrintCondition: Converts generated text and vector RGB color operators through the configured PDF/X CMYK output profile.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { ConvertVectorColorsToPdfXPrintCondition = value }; pdfCreateOptions.ConvertVectorColorsToPdfXPrintCondition(value);public static PdfCreateOptions CreateOutlineFromHeadings(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.CreateOutlineFromHeadings: When true, H1/H2/H3 blocks are written as PDF outline/bookmark entries.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { CreateOutlineFromHeadings = value }; pdfCreateOptions.CreateOutlineFromHeadings(value);public static PdfCreateOptions Debug(PdfCreateOptions pdfCreateOptions, PdfDebugOptions? value) #Sets PdfCreateOptions.Debug: Optional debug overlays (margins, baselines, boxes).
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfDebugOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { Debug = value }; pdfCreateOptions.Debug(value);public static PdfCreateOptions Debug(PdfCreateOptions pdfCreateOptions, Action<PdfDebugOptions> configure) #Configures PdfCreateOptions.Debug in place (creating it when not set): Optional debug overlays (margins, baselines, boxes).
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfDebugOptions>
- Configures the value.
public static PdfCreateOptions DefaultDrawingStyle(PdfCreateOptions pdfCreateOptions, PdfDrawingStyle? value) #Sets PdfCreateOptions.DefaultDrawingStyle: Default placement style for OfficeIMO.Drawing-backed flow objects.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfDrawingStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultDrawingStyle = value }; pdfCreateOptions.DefaultDrawingStyle(value);public static PdfCreateOptions DefaultDrawingStyle(PdfCreateOptions pdfCreateOptions, Action<PdfDrawingStyle> configure) #Configures PdfCreateOptions.DefaultDrawingStyle in place (creating it when not set): Default placement style for OfficeIMO.Drawing-backed flow objects.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfDrawingStyle>
- Configures the value.
public static PdfCreateOptions DefaultFont(PdfCreateOptions pdfCreateOptions, PdfStandardFont value) #Sets PdfCreateOptions.DefaultFont: Default standard font used for paragraphs.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfStandardFont
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultFont = value }; pdfCreateOptions.DefaultFont(value);public static PdfCreateOptions DefaultFontSize(PdfCreateOptions pdfCreateOptions, OfficeLength value) #Sets PdfCreateOptions.DefaultFontSize: Default paragraph font size; new composition inherits the theme body size unless assigned.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultFontSize = value }; pdfCreateOptions.DefaultFontSize(value);public static PdfCreateOptions DefaultHeadingStyles(PdfCreateOptions pdfCreateOptions, PdfHeadingStyles? value) #Sets PdfCreateOptions.DefaultHeadingStyles: Default heading styles applied when H1/H2/H3 blocks do not specify their own style. When not assigned, the styles come from PdfCreateOptions.Theme.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfHeadingStyles?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultHeadingStyles = value }; pdfCreateOptions.DefaultHeadingStyles(value);public static PdfCreateOptions DefaultHeadingStyles(PdfCreateOptions pdfCreateOptions, Action<PdfHeadingStyles> configure) #Configures PdfCreateOptions.DefaultHeadingStyles in place (creating it when not set): Default heading styles applied when H1/H2/H3 blocks do not specify their own style. When not assigned, the styles come from PdfCreateOptions.Theme.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfHeadingStyles>
- Configures the value.
public static PdfCreateOptions DefaultHorizontalRuleStyle(PdfCreateOptions pdfCreateOptions, PdfHorizontalRuleStyle? value) #Sets PdfCreateOptions.DefaultHorizontalRuleStyle: Default horizontal rule style applied when horizontal rules do not specify their own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfHorizontalRuleStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultHorizontalRuleStyle = value }; pdfCreateOptions.DefaultHorizontalRuleStyle(value);public static PdfCreateOptions DefaultHorizontalRuleStyle(PdfCreateOptions pdfCreateOptions, Action<PdfHorizontalRuleStyle> configure) #Configures PdfCreateOptions.DefaultHorizontalRuleStyle in place (creating it when not set): Default horizontal rule style applied when horizontal rules do not specify their own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfHorizontalRuleStyle>
- Configures the value.
public static PdfCreateOptions DefaultImageStyle(PdfCreateOptions pdfCreateOptions, PdfImageStyle? value) #Sets PdfCreateOptions.DefaultImageStyle: Default image placement style applied when images do not specify their own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfImageStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultImageStyle = value }; pdfCreateOptions.DefaultImageStyle(value);public static PdfCreateOptions DefaultImageStyle(PdfCreateOptions pdfCreateOptions, Action<PdfImageStyle> configure) #Configures PdfCreateOptions.DefaultImageStyle in place (creating it when not set): Default image placement style applied when images do not specify their own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfImageStyle>
- Configures the value.
public static PdfCreateOptions DefaultListStyle(PdfCreateOptions pdfCreateOptions, PdfListStyle? value) #Sets PdfCreateOptions.DefaultListStyle: Default list style applied when bullet and numbered lists do not specify their own style. When not assigned, the style comes from PdfCreateOptions.Theme.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfListStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultListStyle = value }; pdfCreateOptions.DefaultListStyle(value);public static PdfCreateOptions DefaultListStyle(PdfCreateOptions pdfCreateOptions, Action<PdfListStyle> configure) #Configures PdfCreateOptions.DefaultListStyle in place (creating it when not set): Default list style applied when bullet and numbered lists do not specify their own style. When not assigned, the style comes from PdfCreateOptions.Theme.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfListStyle>
- Configures the value.
public static PdfCreateOptions DefaultPanelStyle(PdfCreateOptions pdfCreateOptions, PdfPanelStyle? value) #Sets PdfCreateOptions.DefaultPanelStyle: Default panel style applied when panel paragraphs do not specify their own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfPanelStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultPanelStyle = value }; pdfCreateOptions.DefaultPanelStyle(value);public static PdfCreateOptions DefaultPanelStyle(PdfCreateOptions pdfCreateOptions, Action<PdfPanelStyle> configure) #Configures PdfCreateOptions.DefaultPanelStyle in place (creating it when not set): Default panel style applied when panel paragraphs do not specify their own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfPanelStyle>
- Configures the value.
public static PdfCreateOptions DefaultParagraphStyle(PdfCreateOptions pdfCreateOptions, PdfParagraphStyle? value) #Sets PdfCreateOptions.DefaultParagraphStyle: Default paragraph style applied when a paragraph does not specify its own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfParagraphStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultParagraphStyle = value }; pdfCreateOptions.DefaultParagraphStyle(value);public static PdfCreateOptions DefaultParagraphStyle(PdfCreateOptions pdfCreateOptions, Action<PdfParagraphStyle> configure) #Configures PdfCreateOptions.DefaultParagraphStyle in place (creating it when not set): Default paragraph style applied when a paragraph does not specify its own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfParagraphStyle>
- Configures the value.
public static PdfCreateOptions DefaultRowStyle(PdfCreateOptions pdfCreateOptions, PdfRowStyle? value) #Sets PdfCreateOptions.DefaultRowStyle: Default row/column layout style applied when rows do not specify their own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfRowStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultRowStyle = value }; pdfCreateOptions.DefaultRowStyle(value);public static PdfCreateOptions DefaultRowStyle(PdfCreateOptions pdfCreateOptions, Action<PdfRowStyle> configure) #Configures PdfCreateOptions.DefaultRowStyle in place (creating it when not set): Default row/column layout style applied when rows do not specify their own style.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfRowStyle>
- Configures the value.
public static PdfCreateOptions DefaultTableStyle(PdfCreateOptions pdfCreateOptions, PdfTableStyle? value) #Sets PdfCreateOptions.DefaultTableStyle: Default table style applied when none is provided. When not assigned, the style comes from PdfCreateOptions.Theme.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfTableStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultTableStyle = value }; pdfCreateOptions.DefaultTableStyle(value);public static PdfCreateOptions DefaultTableStyle(PdfCreateOptions pdfCreateOptions, Action<PdfTableStyle> configure) #Configures PdfCreateOptions.DefaultTableStyle in place (creating it when not set): Default table style applied when none is provided. When not assigned, the style comes from PdfCreateOptions.Theme.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfTableStyle>
- Configures the value.
public static PdfCreateOptions DefaultTextColor(PdfCreateOptions pdfCreateOptions, OfficeColor? value) #Sets PdfCreateOptions.DefaultTextColor: Default text color for blocks when none is specified.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { DefaultTextColor = value }; pdfCreateOptions.DefaultTextColor(value);public static PdfCreateOptions ElectronicInvoiceMetadata(PdfCreateOptions pdfCreateOptions, PdfElectronicInvoiceMetadata? metadata) #Sets Factur-X/ZUGFeRD XMP extension metadata and enables XMP metadata emission.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- metadata OfficeIMO.Pdf.PdfElectronicInvoiceMetadata?
- The value.
public static PdfCreateOptions ElectronicInvoiceMetadata(PdfCreateOptions pdfCreateOptions, string conformanceLevel, string version = "1.0") #Sets Factur-X/ZUGFeRD XMP extension metadata and enables XMP metadata emission.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- conformanceLevel string
- The value.
- version string = "1.0"
- The value.
public static PdfCreateOptions ElectronicInvoiceMetadata(PdfCreateOptions pdfCreateOptions, Action<PdfElectronicInvoiceMetadata> configure) #Configures PdfCreateOptions.ElectronicInvoiceMetadata in place: Optional Factur-X/ZUGFeRD XMP extension metadata. This does not by itself certify e-invoice conformance.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfElectronicInvoiceMetadata>
- Configures the value.
public static PdfCreateOptions EmbeddedFontFallbacks(PdfCreateOptions pdfCreateOptions, PdfEmbeddedFontFallbackSet? value) #Sets PdfCreateOptions.EmbeddedFontFallbacks: Embedded font fallback set used to split generated rich text runs that cannot be written by their selected font.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfEmbeddedFontFallbackSet?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { EmbeddedFontFallbacks = value }; pdfCreateOptions.EmbeddedFontFallbacks(value);public static PdfCreateOptions EmbedDefaultFonts(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.EmbedDefaultFonts: When true (the default), text set in a standard font slot (Helvetica, Times or Courier) that has no registered font file uses an installed font resolved through the default theme's fallback lists, embedded as a subset: the body font for Helvetica, the serif chain for Times and the monospace chain for Courier. When no font file can be found the standard font is written without embedding and a font-not-embedded diagnostic is reported. Set to false to write the non-embedded standard PDF fonts.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { EmbedDefaultFonts = value }; pdfCreateOptions.EmbedDefaultFonts(value);public static PdfCreateOptions Encryption(PdfCreateOptions pdfCreateOptions, string userPassword, string? ownerPassword = null, int permissions = -4) #Sets Standard password security for generated PDFs.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- userPassword string
- The value.
- ownerPassword string? = null
- The value.
- permissions int = -4
- The value.
public static PdfCreateOptions Encryption(PdfCreateOptions pdfCreateOptions, PdfStandardEncryptionOptions? encryption) #Sets or clears Standard password security for generated PDFs.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- encryption OfficeIMO.Pdf.PdfStandardEncryptionOptions?
- The value.
public static PdfCreateOptions Encryption(PdfCreateOptions pdfCreateOptions, Action<PdfStandardEncryptionOptions> configure) #Configures PdfCreateOptions.Encryption in place: Optional Standard password security for generated PDFs.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfStandardEncryptionOptions>
- Configures the value.
public static PdfCreateOptions EvenPageImageWatermark(PdfCreateOptions pdfCreateOptions, PdfImageWatermark? value) #Sets PdfCreateOptions.EvenPageImageWatermark: Optional even-page image watermark rendered behind page content when odd/even variants are enabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfImageWatermark?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { EvenPageImageWatermark = value }; pdfCreateOptions.EvenPageImageWatermark(value);public static PdfCreateOptions EvenPageImageWatermark(PdfCreateOptions pdfCreateOptions, Action<PdfImageWatermark> configure) #Configures PdfCreateOptions.EvenPageImageWatermark in place: Optional even-page image watermark rendered behind page content when odd/even variants are enabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfImageWatermark>
- Configures the value.
public static PdfCreateOptions EvenPageTextWatermark(PdfCreateOptions pdfCreateOptions, PdfTextWatermark? value) #Sets PdfCreateOptions.EvenPageTextWatermark: Optional even-page text watermark rendered behind page content when odd/even variants are enabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfTextWatermark?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { EvenPageTextWatermark = value }; pdfCreateOptions.EvenPageTextWatermark(value);public static PdfCreateOptions EvenPageTextWatermark(PdfCreateOptions pdfCreateOptions, Action<PdfTextWatermark> configure) #Configures PdfCreateOptions.EvenPageTextWatermark in place: Optional even-page text watermark rendered behind page content when odd/even variants are enabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfTextWatermark>
- Configures the value.
public static PdfCreateOptions FacturX(PdfCreateOptions pdfCreateOptions, byte[] ciiXml, string? conformanceLevel = null, string version = "1.0", PdfAssociatedFileRelationship relationship = Data, string? description = "Factur-X/ZUGFeRD invoice XML", PdfTextFallbackFeatures textFallbacks = DocumentFont) #Applies Factur-X/ZUGFeRD PDF/A-3 groundwork and attaches the CrossIndustryInvoice XML payload.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- ciiXml byte[]
- The value.
- conformanceLevel string? = null
- The value.
- version string = "1.0"
- The value.
- relationship OfficeIMO.Pdf.PdfAssociatedFileRelationship = Data
- The value.
- description string? = "Factur-X/ZUGFeRD invoice XML"
- The value.
- textFallbacks OfficeIMO.Pdf.PdfTextFallbackFeatures = DocumentFont
- The value.
public static PdfCreateOptions FacturXDocument(PdfCreateOptions pdfCreateOptions, PdfCiiInvoiceDocument invoice, string? conformanceLevel = null, string version = "1.0", PdfAssociatedFileRelationship relationship = Data, string? description = "Factur-X/ZUGFeRD invoice XML", PdfTextFallbackFeatures textFallbacks = DocumentFont) #Attaches a snapshot of an invoice document using the existing Factur-X PDF/A-3 groundwork. This does not render invoice content or certify agreement between visible content and XML. The profile is inferred from the XML unless explicitly supplied; conflicting declarations are rejected. The caller must still validate the resulting PDF and invoice together.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- invoice OfficeIMO.Pdf.PdfCiiInvoiceDocument
- The value.
- conformanceLevel string? = null
- The value.
- version string = "1.0"
- The value.
- relationship OfficeIMO.Pdf.PdfAssociatedFileRelationship = Data
- The value.
- description string? = "Factur-X/ZUGFeRD invoice XML"
- The value.
- textFallbacks OfficeIMO.Pdf.PdfTextFallbackFeatures = DocumentFont
- The value.
public static PdfCreateOptions FacturXFile(PdfCreateOptions pdfCreateOptions, string ciiXmlPath, string? conformanceLevel = null, string version = "1.0", PdfAssociatedFileRelationship relationship = Data, string? description = "Factur-X/ZUGFeRD invoice XML", PdfTextFallbackFeatures textFallbacks = DocumentFont) #Applies Factur-X/ZUGFeRD PDF/A-3 groundwork from a CrossIndustryInvoice XML file.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- ciiXmlPath string
- The value.
- conformanceLevel string? = null
- The value.
- version string = "1.0"
- The value.
- relationship OfficeIMO.Pdf.PdfAssociatedFileRelationship = Data
- The value.
- description string? = "Factur-X/ZUGFeRD invoice XML"
- The value.
- textFallbacks OfficeIMO.Pdf.PdfTextFallbackFeatures = DocumentFont
- The value.
public static PdfCreateOptions FileVersion(PdfCreateOptions pdfCreateOptions, PdfFileVersion version) #Sets the PDF file header version emitted for generated documents.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- version OfficeIMO.Pdf.PdfFileVersion
- The value.
public static PdfCreateOptions FirstPageImageWatermark(PdfCreateOptions pdfCreateOptions, PdfImageWatermark? value) #Sets PdfCreateOptions.FirstPageImageWatermark: Optional first-page image watermark rendered behind page content when first-page variants are enabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfImageWatermark?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { FirstPageImageWatermark = value }; pdfCreateOptions.FirstPageImageWatermark(value);public static PdfCreateOptions FirstPageImageWatermark(PdfCreateOptions pdfCreateOptions, Action<PdfImageWatermark> configure) #Configures PdfCreateOptions.FirstPageImageWatermark in place: Optional first-page image watermark rendered behind page content when first-page variants are enabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfImageWatermark>
- Configures the value.
public static PdfCreateOptions FirstPageTextWatermark(PdfCreateOptions pdfCreateOptions, PdfTextWatermark? value) #Sets PdfCreateOptions.FirstPageTextWatermark: Optional first-page text watermark rendered behind page content when first-page variants are enabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfTextWatermark?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { FirstPageTextWatermark = value }; pdfCreateOptions.FirstPageTextWatermark(value);public static PdfCreateOptions FirstPageTextWatermark(PdfCreateOptions pdfCreateOptions, Action<PdfTextWatermark> configure) #Configures PdfCreateOptions.FirstPageTextWatermark in place: Optional first-page text watermark rendered behind page content when first-page variants are enabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfTextWatermark>
- Configures the value.
public static PdfCreateOptions FlattenRasterTransparencyForPdfX(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.FlattenRasterTransparencyForPdfX: Flattens raster alpha against PdfCreateOptions.PdfXTransparencyBackground during CMYK conversion.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { FlattenRasterTransparencyForPdfX = value }; pdfCreateOptions.FlattenRasterTransparencyForPdfX(value);public static PdfCreateOptions FlattenVisualAnnotations(PdfCreateOptions pdfCreateOptions, bool flatten = true) #Enables or disables flattening generated FreeText and Highlight annotations into page content.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- flatten bool = true
- The value.
public static PdfCreateOptions FontFamily(PdfCreateOptions pdfCreateOptions, string familyName, byte[] regular, byte[]? bold = null, byte[]? italic = null, byte[]? boldItalic = null) #Uses a caller-supplied TrueType font family as the generated document's default font family.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- familyName string
- The value.
- regular byte[]
- The value.
- bold byte[]? = null
- The value.
- italic byte[]? = null
- The value.
- boldItalic byte[]? = null
- The value.
public static PdfCreateOptions FontFamily(PdfCreateOptions pdfCreateOptions, PdfEmbeddedFontFamily fontFamily) #Uses a reusable caller-supplied TrueType font family as the generated document's default font family.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- fontFamily OfficeIMO.Pdf.PdfEmbeddedFontFamily
- The value.
public static PdfCreateOptions FontFamily(PdfCreateOptions pdfCreateOptions, string familyName, string regularPath, string? boldPath = null, string? italicPath = null, string? boldItalicPath = null) #Uses caller-supplied TrueType font files as the generated document's default font family.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- familyName string
- The value.
- regularPath string
- The value.
- boldPath string? = null
- The value.
- italicPath string? = null
- The value.
- boldItalicPath string? = null
- The value.
public static PdfCreateOptions ImageOptimization(PdfCreateOptions pdfCreateOptions, PdfImageOptimizationOptions? value) #Sets PdfCreateOptions.ImageOptimization: Optional placement-aware image optimization used while generating image XObjects. The value is snapshotted; optimization is disabled when this option is null or disabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfImageOptimizationOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { ImageOptimization = value }; pdfCreateOptions.ImageOptimization(value);public static PdfCreateOptions ImageOptimization(PdfCreateOptions pdfCreateOptions, Action<PdfImageOptimizationOptions> configure) #Configures PdfCreateOptions.ImageOptimization in place (creating it when not set): Optional placement-aware image optimization used while generating image XObjects. The value is snapshotted; optimization is disabled when this option is null or disabled.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfImageOptimizationOptions>
- Configures the value.
public static PdfCreateOptions ImageWatermark(PdfCreateOptions pdfCreateOptions, PdfImageWatermark? value) #Sets PdfCreateOptions.ImageWatermark: Optional reusable image watermark rendered behind all page content.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfImageWatermark?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { ImageWatermark = value }; pdfCreateOptions.ImageWatermark(value);public static PdfCreateOptions ImageWatermark(PdfCreateOptions pdfCreateOptions, Action<PdfImageWatermark> configure) #Configures PdfCreateOptions.ImageWatermark in place: Optional reusable image watermark rendered behind all page content.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfImageWatermark>
- Configures the value.
public static PdfCreateOptions IncludePageLabels(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.IncludePageLabels: When true, generated PDFs include catalog page labels that match the configured page-number style and start number.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { IncludePageLabels = value }; pdfCreateOptions.IncludePageLabels(value);public static PdfCreateOptions IncludeStandardFontToUnicodeMaps(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.IncludeStandardFontToUnicodeMaps: When true, generated standard-font resources include WinAnsi-to-Unicode CMaps for stronger extraction and compliance groundwork.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { IncludeStandardFontToUnicodeMaps = value }; pdfCreateOptions.IncludeStandardFontToUnicodeMaps(value);public static PdfCreateOptions IncludeXmpMetadata(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.IncludeXmpMetadata: When true, generated PDFs include a catalog XMP metadata stream synchronized with document Info metadata.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { IncludeXmpMetadata = value }; pdfCreateOptions.IncludeXmpMetadata(value);public static PdfCreateOptions Language(PdfCreateOptions pdfCreateOptions, string? language) #Sets or clears the generated catalog document language.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- language string?
- The value.
public static PdfCreateOptions MaxEmbeddedFileBytes(PdfCreateOptions pdfCreateOptions, long value) #Sets PdfCreateOptions.MaxEmbeddedFileBytes: Maximum payload bytes in each catalog attachment admitted or attachment emitted by this generated document. Defaults to 128 MiB.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { MaxEmbeddedFileBytes = value }; pdfCreateOptions.MaxEmbeddedFileBytes(value);public static PdfCreateOptions MaxGeneratedOutputBytes(PdfCreateOptions pdfCreateOptions, long? value) #Sets PdfCreateOptions.MaxGeneratedOutputBytes: Optional maximum number of bytes serialized for a generated PDF.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value long?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { MaxGeneratedOutputBytes = value }; pdfCreateOptions.MaxGeneratedOutputBytes(value);public static PdfCreateOptions MaxGeneratedPages(PdfCreateOptions pdfCreateOptions, int? value) #Sets PdfCreateOptions.MaxGeneratedPages: Optional maximum number of pages generated during PDF layout.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { MaxGeneratedPages = value }; pdfCreateOptions.MaxGeneratedPages(value);public static PdfCreateOptions MaxTotalEmbeddedFileBytes(PdfCreateOptions pdfCreateOptions, long value) #Sets PdfCreateOptions.MaxTotalEmbeddedFileBytes: Maximum aggregate catalog payload bytes admitted and distinct attachment payload bytes emitted by this generated document. Defaults to 256 MiB.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { MaxTotalEmbeddedFileBytes = value }; pdfCreateOptions.MaxTotalEmbeddedFileBytes(value);public static PdfCreateOptions ObjectBufferMemoryLimitBytes(PdfCreateOptions pdfCreateOptions, long value) #Sets PdfCreateOptions.ObjectBufferMemoryLimitBytes: Maximum serialized-object bytes retained in memory while saving. Zero spills every completed object to temporary storage.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { ObjectBufferMemoryLimitBytes = value }; pdfCreateOptions.ObjectBufferMemoryLimitBytes(value);public static PdfCreateOptions ObjectSerializationMode(PdfCreateOptions pdfCreateOptions, PdfObjectSerializationMode value) #Sets PdfCreateOptions.ObjectSerializationMode: Controls whether completed indirect objects are buffered or emitted once in forward-only order.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfObjectSerializationMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { ObjectSerializationMode = value }; pdfCreateOptions.ObjectSerializationMode(value);public static PdfCreateOptions OfficeFontFamily(PdfCreateOptions pdfCreateOptions, string? familyName, bool embedSystemFont = true) #Uses an Office-style font family name for generated text, embedding the installed TrueType family when it is available and otherwise falling back to the nearest PDF standard family.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- familyName string?
- Office, CSS, or system font family name such as Aptos, Calibri, or Consolas.
- embedSystemFont bool = true
- When true, installed TrueType faces are preferred over dependency-free standard PDF font aliases.
public static PdfCreateOptions OpenAction(PdfCreateOptions pdfCreateOptions, int pageNumber = 1, double? destinationTop = null, PdfOpenActionDestinationMode destinationMode = Xyz, double? destinationLeft = null, double? destinationBottom = null, double? destinationRight = null) #Sets the generated catalog open action to a page destination.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- pageNumber int = 1
- The value.
- destinationTop double? = null
- The value.
- destinationMode OfficeIMO.Pdf.PdfOpenActionDestinationMode = Xyz
- The value.
- destinationLeft double? = null
- The value.
- destinationBottom double? = null
- The value.
- destinationRight double? = null
- The value.
public static PdfCreateOptions OpenAction(PdfCreateOptions pdfCreateOptions, PdfOpenActionOptions? value) #Sets PdfCreateOptions.OpenAction: Optional generated catalog open action controlling the initial page destination.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfOpenActionOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { OpenAction = value }; pdfCreateOptions.OpenAction(value);public static PdfCreateOptions OutlineExpansionLevel(PdfCreateOptions pdfCreateOptions, int value) #Sets PdfCreateOptions.OutlineExpansionLevel: Highest outline level expanded when generated heading outlines are opened in a PDF reader. Defaults to all levels. Set to 0 to show only top-level entries with children collapsed.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { OutlineExpansionLevel = value }; pdfCreateOptions.OutlineExpansionLevel(value);public static PdfCreateOptions OutputIntent(PdfCreateOptions pdfCreateOptions, PdfOutputIntent? outputIntent) #Sets a generated catalog output intent backed by an ICC profile.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- outputIntent OfficeIMO.Pdf.PdfOutputIntent?
- The value.
public static PdfCreateOptions OutputIntent(PdfCreateOptions pdfCreateOptions, byte[] iccProfile) #Sets a generated catalog output intent from ICC profile bytes using the default sRGB output condition identifier.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- iccProfile byte[]
- The value.
public static PdfCreateOptions OutputIntent(PdfCreateOptions pdfCreateOptions, byte[] iccProfile, string outputConditionIdentifier) #Sets a generated catalog output intent from ICC profile bytes.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- iccProfile byte[]
- The value.
- outputConditionIdentifier string
- The value.
public static PdfCreateOptions OutputIntent(PdfCreateOptions pdfCreateOptions, byte[] iccProfile, PdfOutputIntentPolicy policy) #Sets a generated catalog output intent from ICC profile bytes using the default sRGB output condition identifier.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- iccProfile byte[]
- The value.
- policy OfficeIMO.Pdf.PdfOutputIntentPolicy
- The value.
public static PdfCreateOptions OutputIntent(PdfCreateOptions pdfCreateOptions, byte[] iccProfile, string outputConditionIdentifier, PdfOutputIntentPolicy policy) #Sets a generated catalog output intent from ICC profile bytes.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- iccProfile byte[]
- The value.
- outputConditionIdentifier string
- The value.
- policy OfficeIMO.Pdf.PdfOutputIntentPolicy
- The value.
public static PdfCreateOptions OutputIntent(PdfCreateOptions pdfCreateOptions, Action<PdfOutputIntent> configure) #Configures PdfCreateOptions.OutputIntent in place: Optional generated catalog output intent backed by an ICC profile.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfOutputIntent>
- Configures the value.
public static PdfCreateOptions PageBackgroundImage(PdfCreateOptions pdfCreateOptions, PdfPageBackgroundImage? value) #Sets PdfCreateOptions.PageBackgroundImage: Optional reusable page background image rendered behind all page content.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfPageBackgroundImage?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PageBackgroundImage = value }; pdfCreateOptions.PageBackgroundImage(value);public static PdfCreateOptions PageBackgroundImage(PdfCreateOptions pdfCreateOptions, Action<PdfPageBackgroundImage> configure) #Configures PdfCreateOptions.PageBackgroundImage in place: Optional reusable page background image rendered behind all page content.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfPageBackgroundImage>
- Configures the value.
public static PdfCreateOptions PageBackgroundShapes(PdfCreateOptions pdfCreateOptions, IReadOnlyList<PdfPageBackgroundShape>? value) #Sets PdfCreateOptions.PageBackgroundShapes: Optional reusable page background shapes rendered behind all page content.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfPageBackgroundShape>?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PageBackgroundShapes = value }; pdfCreateOptions.PageBackgroundShapes(value);public static PdfCreateOptions PageBorder(PdfCreateOptions pdfCreateOptions, PdfPageBorder? value) #Sets PdfCreateOptions.PageBorder: Optional reusable page border rendered as a page decoration.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfPageBorder?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PageBorder = value }; pdfCreateOptions.PageBorder(value);public static PdfCreateOptions PageBorder(PdfCreateOptions pdfCreateOptions, Action<PdfPageBorder> configure) #Configures PdfCreateOptions.PageBorder in place (creating it when not set): Optional reusable page border rendered as a page decoration.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfPageBorder>
- Configures the value.
public static PdfCreateOptions PageContentMemoryLimitBytes(PdfCreateOptions pdfCreateOptions, long value) #Sets PdfCreateOptions.PageContentMemoryLimitBytes: Maximum completed page-content bytes retained during layout. Zero spills every completed page and effect stream to temporary storage.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PageContentMemoryLimitBytes = value }; pdfCreateOptions.PageContentMemoryLimitBytes(value);public static PdfCreateOptions PageLabelPrefix(PdfCreateOptions pdfCreateOptions, string? value) #Sets PdfCreateOptions.PageLabelPrefix: Optional catalog page-label prefix, for example "A-" or "Appendix ". Requires PdfCreateOptions.IncludePageLabels to be emitted.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PageLabelPrefix = value }; pdfCreateOptions.PageLabelPrefix(value);public static PdfCreateOptions PageLabels(PdfCreateOptions pdfCreateOptions, bool include = true, string? prefix = null) #Enables or disables generated catalog page labels.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- include bool = true
- The value.
- prefix string? = null
- The value.
public static PdfCreateOptions PageNumberStart(PdfCreateOptions pdfCreateOptions, int value) #Sets PdfCreateOptions.PageNumberStart: First visible page number for this document or section flow. Default 1.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PageNumberStart = value }; pdfCreateOptions.PageNumberStart(value);public static PdfCreateOptions PageNumberStyle(PdfCreateOptions pdfCreateOptions, PdfPageNumberStyle value) #Sets PdfCreateOptions.PageNumberStyle: Visible numbering style for generated page tokens. Default Arabic.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfPageNumberStyle
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PageNumberStyle = value }; pdfCreateOptions.PageNumberStyle(value);public static PdfCreateOptions PageStartParity(PdfCreateOptions pdfCreateOptions, PdfPageParity? value) #Sets PdfCreateOptions.PageStartParity: Optional start parity for a composed page or section. Uses the physical page index unless PdfCreateOptions.UseContinuingPageNumberForStartParity is enabled. A blank page is inserted before a later section when needed; the first section starts without padding.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfPageParity?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PageStartParity = value }; pdfCreateOptions.PageStartParity(value);public static PdfCreateOptions PdfA(PdfCreateOptions pdfCreateOptions, PdfComplianceProfile profile = PdfA3B, string language = "en-US") #Configures PDF/A generation and enables strict generation and saved-artifact checks. Call ConfigurePdfAGroundwork for metadata-only preparation without the strict gate.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- profile OfficeIMO.Pdf.PdfComplianceProfile = PdfA3B
- The value.
- language string = "en-US"
- The value.
public static PdfCreateOptions PdfAIdentification(PdfCreateOptions pdfCreateOptions, PdfAIdentification? identification) #Sets PDF/A XMP identification metadata and enables XMP metadata emission.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- identification OfficeIMO.Pdf.PdfAIdentification?
- The value.
public static PdfCreateOptions PdfAIdentification(PdfCreateOptions pdfCreateOptions, int part, string conformance) #Sets PDF/A XMP identification metadata and enables XMP metadata emission.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- part int
- The value.
- conformance string
- The value.
public static PdfCreateOptions PdfUa(PdfCreateOptions pdfCreateOptions, PdfComplianceProfile profile = PdfUa1, string language = "en-US") #Configures PDF/UA generation and enables strict generation and saved-artifact checks. Call ConfigurePdfUaGroundwork for metadata-only preparation without the strict gate.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- profile OfficeIMO.Pdf.PdfComplianceProfile = PdfUa1
- The value.
- language string = "en-US"
- The value.
public static PdfCreateOptions PdfUaIdentification(PdfCreateOptions pdfCreateOptions, PdfUaIdentification? identification) #Sets PDF/UA XMP identification metadata and enables XMP metadata emission.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- identification OfficeIMO.Pdf.PdfUaIdentification?
- The value.
public static PdfCreateOptions PdfUaIdentification(PdfCreateOptions pdfCreateOptions, int part = 1) #Sets PDF/UA XMP identification metadata and enables XMP metadata emission.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- part int = 1
- The value.
public static PdfCreateOptions PdfXIdentification(PdfCreateOptions pdfCreateOptions, PdfXIdentification? identification) #Sets PDF/X identification metadata.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- identification OfficeIMO.Pdf.PdfXIdentification?
- The value.
public static PdfCreateOptions PdfXOutputIntent(PdfCreateOptions pdfCreateOptions, byte[] iccProfile, string outputConditionIdentifier) #Sets a PDF/X output intent from a caller-supplied CMYK print-condition ICC profile.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- iccProfile byte[]
- The value.
- outputConditionIdentifier string
- The value.
public static PdfCreateOptions PdfXProductionMetadata(PdfCreateOptions pdfCreateOptions, PdfXProductionMetadata? metadata) #Sets explicit PDF/X production timestamps and identity for reproducible generation.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- metadata OfficeIMO.Pdf.PdfXProductionMetadata?
- The value.
public static PdfCreateOptions PdfXRenderingIntent(PdfCreateOptions pdfCreateOptions, OfficeIccRenderingIntent value) #Sets PdfCreateOptions.PdfXRenderingIntent: ICC rendering intent used for generated vector and text color conversion.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Drawing.OfficeIccRenderingIntent
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PdfXRenderingIntent = value }; pdfCreateOptions.PdfXRenderingIntent(value);public static PdfCreateOptions PdfXTransparencyBackground(PdfCreateOptions pdfCreateOptions, OfficeColor value) #Sets PdfCreateOptions.PdfXTransparencyBackground: Background used when raster transparency is flattened for PDF/X-1a.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.OfficeColor
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PdfXTransparencyBackground = value }; pdfCreateOptions.PdfXTransparencyBackground(value);public static PdfCreateOptions Portfolio(PdfCreateOptions pdfCreateOptions, PdfPortfolioOptions portfolio) #Configures the generated embedded files as a document portfolio.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- portfolio OfficeIMO.Pdf.PdfPortfolioOptions
- The value.
public static PdfCreateOptions Portfolio(PdfCreateOptions pdfCreateOptions, Action<PdfPortfolioOptions> configure) #Configures PdfCreateOptions.Portfolio in place (creating it when not set): Optional document portfolio configuration for the generated embedded files.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfPortfolioOptions>
- Configures the value.
public static PdfCreateOptions PreserveTextWhitespace(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.PreserveTextWhitespace: Retains leading and repeated spaces. Setting true selects literal PdfTextWhitespaceMode.Preformatted layout; setting false selects PdfTextWhitespaceMode.Collapse.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PreserveTextWhitespace = value }; pdfCreateOptions.PreserveTextWhitespace(value);public static PdfCreateOptions PrintProductionPageBoxes(PdfCreateOptions pdfCreateOptions, PdfPrintProductionPageBoxes? value) #Sets PdfCreateOptions.PrintProductionPageBoxes: Optional TrimBox and BleedBox policy for generated print-production pages.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfPrintProductionPageBoxes?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { PrintProductionPageBoxes = value }; pdfCreateOptions.PrintProductionPageBoxes(value);public static PdfCreateOptions RenderingProfile(PdfCreateOptions pdfCreateOptions, OfficeRenderingProfile profile, OfficeRenderingProfileApplyMode mode = Replace) #Applies the text and font resources from a shared OfficeIMO rendering profile.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- profile OfficeIMO.Drawing.OfficeRenderingProfile
- Shared rendering profile.
- mode OfficeIMO.Drawing.OfficeRenderingProfileApplyMode = Replace
- Whether profile-owned resources replace or overlay existing PDF settings.
public static PdfCreateOptions SplitWordsAtLineEnd(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.SplitWordsAtLineEnd: When true (the default), a word that overflows the end of a line is split at its last fitting line-break opportunity, such as after a hyphen or solidus. Set false to move a word that fits a fresh line there whole, as identifiers such as e-mail addresses, domains and paths usually should be; a word too long for a line is still split.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { SplitWordsAtLineEnd = value }; pdfCreateOptions.SplitWordsAtLineEnd(value);public static PdfCreateOptions SrgbOutputIntent(PdfCreateOptions pdfCreateOptions) #Sets the generated catalog output intent to OfficeIMO's built-in sRGB IEC61966-2.1 ICC profile.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
public static PdfCreateOptions TaggedStructureMode(PdfCreateOptions pdfCreateOptions, PdfTaggedStructureMode mode) #Sets the generated tagged-PDF groundwork mode.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- mode OfficeIMO.Pdf.PdfTaggedStructureMode
- The value.
public static PdfCreateOptions TextFallbacks(PdfCreateOptions pdfCreateOptions, PdfTextFallbackFeatures features = Default) #Applies OfficeIMO's built-in generated-text fallback groups without requiring callers to manually assign fallback font slots.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- features OfficeIMO.Pdf.PdfTextFallbackFeatures = Default
- Fallback groups to enable. The default enables document, monospace, symbol, and emoji fallbacks.
public static PdfCreateOptions TextHyphenation(PdfCreateOptions pdfCreateOptions, PdfTextHyphenationCallback? callback) #Sets or clears the callback used to provide preferred break positions for long unspaced tokens.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- callback OfficeIMO.Pdf.PdfTextHyphenationCallback?
- Callback returning UTF-16 break indexes for a token, or null to disable the hook.
public static PdfCreateOptions TextKerning(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.TextKerning: Applies pair kerning to text without explicit run features: OpenType GPOS/kern pairs for embedded fonts and Adobe AFM pairs for the standard Helvetica and Times fonts. The default is true. Setting false restores nominal glyph advances; runs with explicit features keep their own kern value.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { TextKerning = value }; pdfCreateOptions.TextKerning(value);public static PdfCreateOptions TextLineBreaks(PdfCreateOptions pdfCreateOptions, Func<string, IReadOnlyList<int>>? callback) #Sets or clears the callback used to provide preferred non-hyphenating break positions for long unspaced tokens.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- callback System.Func<string, System.Collections.Generic.IReadOnlyList<int>>?
- Callback returning UTF-16 break indexes for a token, or null to disable the hook.
public static PdfCreateOptions TextShapingMode(PdfCreateOptions pdfCreateOptions, PdfTextShapingMode mode) #Sets the dependency-free generated text shaping mode used by embedded font output.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- mode OfficeIMO.Pdf.PdfTextShapingMode
- Shaping mode to apply when writing generated text with embedded fonts.
public static PdfCreateOptions TextShapingProvider(PdfCreateOptions pdfCreateOptions, IOfficeTextShapingProvider? provider) #Sets or clears the host-provided shaping engine used for generated text written with embedded fonts.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- provider OfficeIMO.Drawing.IOfficeTextShapingProvider?
- Provider that returns shaped glyph runs, or null to use only built-in shaping.
public static PdfCreateOptions TextWatermark(PdfCreateOptions pdfCreateOptions, PdfTextWatermark? value) #Sets PdfCreateOptions.TextWatermark: Optional reusable text watermark rendered behind all page content.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfTextWatermark?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { TextWatermark = value }; pdfCreateOptions.TextWatermark(value);public static PdfCreateOptions TextWatermark(PdfCreateOptions pdfCreateOptions, Action<PdfTextWatermark> configure) #Configures PdfCreateOptions.TextWatermark in place: Optional reusable text watermark rendered behind all page content.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfTextWatermark>
- Configures the value.
public static PdfCreateOptions TextWhitespaceMode(PdfCreateOptions pdfCreateOptions, PdfTextWhitespaceMode value) #Sets PdfCreateOptions.TextWhitespaceMode: Controls ordinary spaces in flow text. The default is PdfTextWhitespaceMode.Collapse.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.Pdf.PdfTextWhitespaceMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { TextWhitespaceMode = value }; pdfCreateOptions.TextWhitespaceMode(value);public static PdfCreateOptions Theme(PdfCreateOptions pdfCreateOptions, OfficeTheme? value) #Sets PdfCreateOptions.Theme: Supplies defaults for new PDF composition. Null selects OfficeTheme.Default. Explicit option styles, fonts and sizes, and block/run formatting take precedence. Loading a PDF and source-format layout imports do not apply this theme.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value OfficeIMO.OfficeTheme?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { Theme = value }; pdfCreateOptions.Theme(value);public static PdfCreateOptions TrappingStatus(PdfCreateOptions pdfCreateOptions, PdfTrappingStatus? status) #Sets the print trapping status written to the document information dictionary.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- status OfficeIMO.Pdf.PdfTrappingStatus?
- The value.
public static PdfCreateOptions UseContinuingPageNumberForStartParity(PdfCreateOptions pdfCreateOptions, bool value = true) #Sets PdfCreateOptions.UseContinuingPageNumberForStartParity: Uses the page number continuing the preceding group for start parity. Numbering restarts are applied after padding. Default is false, which uses the physical page index.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfCreateOptions { UseContinuingPageNumberForStartParity = value }; pdfCreateOptions.UseContinuingPageNumberForStartParity(value);public static PdfCreateOptions ViewerPreferences(PdfCreateOptions pdfCreateOptions, PdfViewerPreferencesOptions? preferences) #Sets or clears generated catalog viewer preferences.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- preferences OfficeIMO.Pdf.PdfViewerPreferencesOptions?
- The value.
public static PdfCreateOptions ViewerPreferences(PdfCreateOptions pdfCreateOptions, Action<PdfViewerPreferencesOptions> configure) #Configures PdfCreateOptions.ViewerPreferences in place (creating it when not set): Optional simple viewer preferences emitted through the generated catalog.
Parameters
- pdfCreateOptions OfficeIMO.Pdf.PdfCreateOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfViewerPreferencesOptions>
- Configures the value.