API Reference
PdfPageBuilder
Page-level configuration (size, margins, default styles) and content/footers.
Inheritance
- Object
- PdfPageBuilder
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method PdfPageBuilder.Background
- Method PdfPageBuilder.BackgroundBottomBand
- Method PdfPageBuilder.BackgroundEllipse
- Method PdfPageBuilder.BackgroundImage
- Method PdfPageBuilder.BackgroundImage
- Method PdfPageBuilder.BackgroundLeftBand
- Method PdfPageBuilder.BackgroundRectangle
- Method PdfPageBuilder.BackgroundRightBand
- Method PdfPageBuilder.BackgroundRoundedRectangle
- Method PdfPageBuilder.BackgroundShape
- Method PdfPageBuilder.BackgroundShapes
- Method PdfPageBuilder.BackgroundTopBand
- Method PdfPageBuilder.Canvas
- Method PdfPageBuilder.ClearBackgroundShapes
- Method PdfPageBuilder.Content
- Method PdfPageBuilder.DefaultDrawingStyle
- Method PdfPageBuilder.DefaultHeadingStyle
- Method PdfPageBuilder.DefaultHorizontalRuleStyle
- Method PdfPageBuilder.DefaultImageStyle
- Method PdfPageBuilder.DefaultListStyle
- Method PdfPageBuilder.DefaultPanelStyle
- Method PdfPageBuilder.DefaultParagraphStyle
- Method PdfPageBuilder.DefaultRowStyle
- Method PdfPageBuilder.DefaultTableStyle
- Method PdfPageBuilder.DefaultTableStyle
- Method PdfPageBuilder.DefaultTextStyle
- Method PdfPageBuilder.DefaultTextStyle
- Method PdfPageBuilder.EvenPagesImageWatermark
- Method PdfPageBuilder.EvenPagesImageWatermark
- Method PdfPageBuilder.EvenPagesWatermark
- Method PdfPageBuilder.EvenPagesWatermark
- Method PdfPageBuilder.FirstPageImageWatermark
- Method PdfPageBuilder.FirstPageImageWatermark
- Method PdfPageBuilder.FirstPageWatermark
- Method PdfPageBuilder.FirstPageWatermark
- Method PdfPageBuilder.Footer
- Method PdfPageBuilder.Header
- Method PdfPageBuilder.ImageWatermark
- Method PdfPageBuilder.ImageWatermark
- Method PdfPageBuilder.Landscape
- Method PdfPageBuilder.Margin
- Method PdfPageBuilder.Margin
- Method PdfPageBuilder.Margin
- Method PdfPageBuilder.Orientation
- Method PdfPageBuilder.PageBorder
- Method PdfPageBuilder.PageBorder
- Method PdfPageBuilder.PageNumberStart
- Method PdfPageBuilder.PageNumberStyle
- Method PdfPageBuilder.Portrait
- Method PdfPageBuilder.PrintProductionPageBoxes
- Method PdfPageBuilder.RegisterEmbeddedFontFallbacks
- Method PdfPageBuilder.Size
- Method PdfPageBuilder.Size
- Method PdfPageBuilder.SuppressEvenPagesImageWatermark
- Method PdfPageBuilder.SuppressEvenPagesTextWatermark
- Method PdfPageBuilder.SuppressEvenPagesWatermark
- Method PdfPageBuilder.SuppressFirstPageImageWatermark
- Method PdfPageBuilder.SuppressFirstPageTextWatermark
- Method PdfPageBuilder.SuppressFirstPageWatermark
- Method PdfPageBuilder.TextHyphenation
- Method PdfPageBuilder.TextHyphenationDictionary
- Method PdfPageBuilder.TextLineBreaks
- Method PdfPageBuilder.Theme
- Method PdfPageBuilder.Typography
- Method PdfPageBuilder.UseEmbeddedFontFallbacksFromSystem
- Method PdfPageBuilder.UseFontFamily
- Method PdfPageBuilder.UseFontFamily
- Method PdfPageBuilder.UseFontFamily
- Method PdfPageBuilder.UseTextFallbacks
- Method PdfPageBuilder.Watermark
- Method PdfPageBuilder.Watermark
Accepted by parameters
- Method PdfDocumentBuilder.Page
- Method PdfDocumentBuilder.Section
Methods
public PdfPageBuilder Background(Nullable<PdfColor> color) #PdfPageBuilderSets or clears the page background color.
Parameters
- color System.Nullable{OfficeIMO.Pdf.PdfColor}
public PdfPageBuilder BackgroundBottomBand(Double height, Nullable<PdfColor> fill = null, Double insetX = 0, Double offsetY = 0, Double cornerRadius = 0, Nullable<PdfColor> stroke = null, Double strokeWidth = 0, Nullable<Double> fillOpacity = null, Nullable<Double> strokeOpacity = null, OfficeLinearGradient fillGradient = null) #PdfPageBuilderAdds a page-scoped bottom background band using the current page size.
Parameters
- height System.Double
- fill System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- insetX System.Double = 0
- offsetY System.Double = 0
- cornerRadius System.Double = 0
- stroke System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 0
- fillOpacity System.Nullable{System.Double} = null
- strokeOpacity System.Nullable{System.Double} = null
- fillGradient OfficeIMO.Drawing.OfficeLinearGradient = null
public PdfPageBuilder BackgroundEllipse(Double x, Double y, Double width, Double height, Nullable<PdfColor> fill = null, Nullable<PdfColor> stroke = null, Double strokeWidth = 0, Nullable<Double> fillOpacity = null, Nullable<Double> strokeOpacity = null, OfficeLinearGradient fillGradient = null) #PdfPageBuilderAdds a page-scoped ellipse background shape.
Parameters
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- fill System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- stroke System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 0
- fillOpacity System.Nullable{System.Double} = null
- strokeOpacity System.Nullable{System.Double} = null
- fillGradient OfficeIMO.Drawing.OfficeLinearGradient = null
public PdfPageBuilder BackgroundImage(PdfPageBackgroundImage image) #PdfPageBuilderSets or clears the page-scoped background image.
Parameters
- image OfficeIMO.Pdf.PdfPageBackgroundImage
public PdfPageBuilder BackgroundImage(Byte[] imageBytes, OfficeImageFit fit = Cover, Nullable<Double> opacity = null) #PdfPageBuilderSets a page-scoped background image.
Parameters
- imageBytes System.Byte[]
- fit OfficeIMO.Drawing.OfficeImageFit = Cover
- opacity System.Nullable{System.Double} = null
public PdfPageBuilder BackgroundLeftBand(Double width, Nullable<PdfColor> fill = null, Double insetY = 0, Double offsetX = 0, Double cornerRadius = 0, Nullable<PdfColor> stroke = null, Double strokeWidth = 0, Nullable<Double> fillOpacity = null, Nullable<Double> strokeOpacity = null, OfficeLinearGradient fillGradient = null) #PdfPageBuilderAdds a page-scoped left background band using the current page size.
Parameters
- width System.Double
- fill System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- insetY System.Double = 0
- offsetX System.Double = 0
- cornerRadius System.Double = 0
- stroke System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 0
- fillOpacity System.Nullable{System.Double} = null
- strokeOpacity System.Nullable{System.Double} = null
- fillGradient OfficeIMO.Drawing.OfficeLinearGradient = null
public PdfPageBuilder BackgroundRectangle(Double x, Double y, Double width, Double height, Nullable<PdfColor> fill = null, Nullable<PdfColor> stroke = null, Double strokeWidth = 0, Nullable<Double> fillOpacity = null, Nullable<Double> strokeOpacity = null, OfficeLinearGradient fillGradient = null) #PdfPageBuilderAdds a page-scoped rectangle background shape.
Parameters
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- fill System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- stroke System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 0
- fillOpacity System.Nullable{System.Double} = null
- strokeOpacity System.Nullable{System.Double} = null
- fillGradient OfficeIMO.Drawing.OfficeLinearGradient = null
public PdfPageBuilder BackgroundRightBand(Double width, Nullable<PdfColor> fill = null, Double insetY = 0, Double offsetX = 0, Double cornerRadius = 0, Nullable<PdfColor> stroke = null, Double strokeWidth = 0, Nullable<Double> fillOpacity = null, Nullable<Double> strokeOpacity = null, OfficeLinearGradient fillGradient = null) #PdfPageBuilderAdds a page-scoped right background band using the current page size.
Parameters
- width System.Double
- fill System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- insetY System.Double = 0
- offsetX System.Double = 0
- cornerRadius System.Double = 0
- stroke System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 0
- fillOpacity System.Nullable{System.Double} = null
- strokeOpacity System.Nullable{System.Double} = null
- fillGradient OfficeIMO.Drawing.OfficeLinearGradient = null
public PdfPageBuilder BackgroundRoundedRectangle(Double x, Double y, Double width, Double height, Double cornerRadius, Nullable<PdfColor> fill = null, Nullable<PdfColor> stroke = null, Double strokeWidth = 0, Nullable<Double> fillOpacity = null, Nullable<Double> strokeOpacity = null, OfficeLinearGradient fillGradient = null) #PdfPageBuilderAdds a page-scoped rounded rectangle background shape.
Parameters
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- cornerRadius System.Double
- fill System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- stroke System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 0
- fillOpacity System.Nullable{System.Double} = null
- strokeOpacity System.Nullable{System.Double} = null
- fillGradient OfficeIMO.Drawing.OfficeLinearGradient = null
public PdfPageBuilder BackgroundShape(PdfPageBackgroundShape shape) #PdfPageBuilderAdds a page-scoped background shape rendered behind page content.
Parameters
- shape OfficeIMO.Pdf.PdfPageBackgroundShape
public PdfPageBuilder BackgroundShapes(IEnumerable<PdfPageBackgroundShape> shapes) #PdfPageBuilderReplaces or clears page-scoped background shapes.
Parameters
- shapes System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfPageBackgroundShape}
public PdfPageBuilder BackgroundTopBand(Double height, Nullable<PdfColor> fill = null, Double insetX = 0, Double offsetY = 0, Double cornerRadius = 0, Nullable<PdfColor> stroke = null, Double strokeWidth = 0, Nullable<Double> fillOpacity = null, Nullable<Double> strokeOpacity = null, OfficeLinearGradient fillGradient = null) #PdfPageBuilderAdds a page-scoped top background band using the current page size.
Parameters
- height System.Double
- fill System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- insetX System.Double = 0
- offsetY System.Double = 0
- cornerRadius System.Double = 0
- stroke System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 0
- fillOpacity System.Nullable{System.Double} = null
- strokeOpacity System.Nullable{System.Double} = null
- fillGradient OfficeIMO.Drawing.OfficeLinearGradient = null
public PdfPageBuilder Canvas(Action<PdfPageCanvas> build) #PdfPageBuilderAdds foreground page content at absolute top-left page coordinates.
Parameters
- build System.Action{OfficeIMO.Pdf.PdfPageCanvas}
public PdfPageBuilder ClearBackgroundShapes() #PdfPageBuilderClears page-scoped background shapes.
public PdfPageBuilder Content(Action<PdfContentBuilder> build) #PdfPageBuilderBuilds the page content through the universal content receiver.
Parameters
- build System.Action{OfficeIMO.Pdf.PdfContentBuilder}
public PdfPageBuilder DefaultDrawingStyle(PdfDrawingStyle style) #PdfPageBuilderConfigures the default placement style for page drawing objects.
Parameters
- style OfficeIMO.Pdf.PdfDrawingStyle
public PdfPageBuilder DefaultHeadingStyle(Int32 level, PdfHeadingStyle style) #PdfPageBuilderConfigures the default style for a built-in heading level on the page.
Parameters
- level System.Int32
- style OfficeIMO.Pdf.PdfHeadingStyle
public PdfPageBuilder DefaultHorizontalRuleStyle(PdfHorizontalRuleStyle style) #PdfPageBuilderConfigures the default style for page horizontal rules.
Parameters
- style OfficeIMO.Pdf.PdfHorizontalRuleStyle
public PdfPageBuilder DefaultImageStyle(PdfImageStyle style) #PdfPageBuilderConfigures the default style for page images.
Parameters
- style OfficeIMO.Pdf.PdfImageStyle
public PdfPageBuilder DefaultListStyle(PdfListStyle style) #PdfPageBuilderConfigures the default style for page bullet and numbered lists.
Parameters
- style OfficeIMO.Pdf.PdfListStyle
public PdfPageBuilder DefaultPanelStyle(PdfPanelStyle style) #PdfPageBuilderConfigures the default style for page panel paragraphs.
Parameters
- style OfficeIMO.Pdf.PdfPanelStyle
public PdfPageBuilder DefaultParagraphStyle(PdfParagraphStyle style) #PdfPageBuilderConfigures the default paragraph style for page paragraphs that do not provide an explicit style.
Parameters
- style OfficeIMO.Pdf.PdfParagraphStyle
public PdfPageBuilder DefaultRowStyle(PdfRowStyle style) #PdfPageBuilderConfigures the default row/column layout style for the page.
Parameters
- style OfficeIMO.Pdf.PdfRowStyle
public PdfPageBuilder DefaultTableStyle(PdfTableStyle style) #PdfPageBuilderConfigures the default table style for page tables that do not provide an explicit style.
Parameters
- style OfficeIMO.Pdf.PdfTableStyle
public PdfPageBuilder DefaultTableStyle(String wordTableStyleName) #PdfPageBuilderConfigures the default table style for the page from a supported Word table style name.
Parameters
- wordTableStyleName System.String
public PdfPageBuilder DefaultTextStyle(Action<PdfTextStyleBuilder> style) #PdfPageBuilderConfigures default text style for the page.
Parameters
- style System.Action{OfficeIMO.Pdf.PdfTextStyleBuilder}
public PdfPageBuilder DefaultTextStyle(PdfTextStyle style) #PdfPageBuilderConfigures default text style for the page from a reusable text style object.
Parameters
- style OfficeIMO.Pdf.PdfTextStyle
public PdfPageBuilder EvenPagesImageWatermark(PdfImageWatermark watermark) #PdfPageBuilderSets or clears the even-page image watermark rendered behind page content.
Parameters
- watermark OfficeIMO.Pdf.PdfImageWatermark
public PdfPageBuilder EvenPagesImageWatermark(Byte[] imageBytes, Double width, Double height, Nullable<Double> opacity = null, Nullable<Double> rotationAngle = null) #PdfPageBuilderSets an even-page image watermark rendered behind page content.
Parameters
- imageBytes System.Byte[]
- width System.Double
- height System.Double
- opacity System.Nullable{System.Double} = null
- rotationAngle System.Nullable{System.Double} = null
public PdfPageBuilder EvenPagesWatermark(PdfTextWatermark watermark) #PdfPageBuilderSets or clears the even-page text watermark rendered behind page content.
Parameters
- watermark OfficeIMO.Pdf.PdfTextWatermark
public PdfPageBuilder EvenPagesWatermark(String text, Nullable<Double> fontSize = null, Nullable<PdfColor> color = null, Nullable<Double> opacity = null, Nullable<Double> rotationAngle = null, Nullable<PdfStandardFont> font = null, Boolean bold = true, Boolean italic = false) #PdfPageBuilderSets an even-page text watermark rendered behind page content.
Parameters
- text System.String
- fontSize System.Nullable{System.Double} = null
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- opacity System.Nullable{System.Double} = null
- rotationAngle System.Nullable{System.Double} = null
- font System.Nullable{OfficeIMO.Pdf.PdfStandardFont} = null
- bold System.Boolean = true
- italic System.Boolean = false
public PdfPageBuilder FirstPageImageWatermark(PdfImageWatermark watermark) #PdfPageBuilderSets or clears the first-page image watermark rendered behind page content.
Parameters
- watermark OfficeIMO.Pdf.PdfImageWatermark
public PdfPageBuilder FirstPageImageWatermark(Byte[] imageBytes, Double width, Double height, Nullable<Double> opacity = null, Nullable<Double> rotationAngle = null) #PdfPageBuilderSets a first-page image watermark rendered behind page content.
Parameters
- imageBytes System.Byte[]
- width System.Double
- height System.Double
- opacity System.Nullable{System.Double} = null
- rotationAngle System.Nullable{System.Double} = null
public PdfPageBuilder FirstPageWatermark(PdfTextWatermark watermark) #PdfPageBuilderSets or clears the first-page text watermark rendered behind page content.
Parameters
- watermark OfficeIMO.Pdf.PdfTextWatermark
public PdfPageBuilder FirstPageWatermark(String text, Nullable<Double> fontSize = null, Nullable<PdfColor> color = null, Nullable<Double> opacity = null, Nullable<Double> rotationAngle = null, Nullable<PdfStandardFont> font = null, Boolean bold = true, Boolean italic = false) #PdfPageBuilderSets a first-page text watermark rendered behind page content.
Parameters
- text System.String
- fontSize System.Nullable{System.Double} = null
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- opacity System.Nullable{System.Double} = null
- rotationAngle System.Nullable{System.Double} = null
- font System.Nullable{OfficeIMO.Pdf.PdfStandardFont} = null
- bold System.Boolean = true
- italic System.Boolean = false
public PdfPageBuilder Header(Action<PdfHeaderBuilder> build) #PdfPageBuilderDefines the header layout and content.
Parameters
- build System.Action{OfficeIMO.Pdf.PdfHeaderBuilder}
public PdfPageBuilder ImageWatermark(PdfImageWatermark watermark) #PdfPageBuilderSets or clears the page-scoped image watermark rendered behind page content.
Parameters
- watermark OfficeIMO.Pdf.PdfImageWatermark
public PdfPageBuilder ImageWatermark(Byte[] imageBytes, Double width, Double height, Nullable<Double> opacity = null, Nullable<Double> rotationAngle = null) #PdfPageBuilderSets a page-scoped image watermark rendered behind page content.
Parameters
- imageBytes System.Byte[]
- width System.Double
- height System.Double
- opacity System.Nullable{System.Double} = null
- rotationAngle System.Nullable{System.Double} = null
public PdfPageBuilder Landscape() #PdfPageBuilderSets page orientation to landscape while preserving the current page size dimensions.
public PdfPageBuilder Margin(Double all) #PdfPageBuilderSets uniform page margins (all sides in points).
Parameters
- all System.Double
public PdfPageBuilder Margin(PageMargins margins) #PdfPageBuilderSets page margins from a reusable margin value.
Parameters
- margins OfficeIMO.Pdf.PageMargins
public PdfPageBuilder Margin(Double left, Double top, Double right, Double bottom) #PdfPageBuilderSets page margins (left, top, right, bottom in points).
Parameters
- left System.Double
- top System.Double
- right System.Double
- bottom System.Double
public PdfPageBuilder Orientation(OfficePageOrientation orientation) #PdfPageBuilderSets page orientation while preserving the current page size dimensions.
Parameters
- orientation OfficeIMO.OfficePageOrientation
public PdfPageBuilder PageBorder(PdfPageBorder border) #PdfPageBuilderSets or clears the page-scoped page border.
Parameters
- border OfficeIMO.Pdf.PdfPageBorder
public PdfPageBuilder PageBorder(Nullable<PdfColor> color = null, Nullable<Double> width = null, Nullable<Double> inset = null, Nullable<Double> opacity = null, OfficeStrokeDashStyle dashStyle = Solid) #PdfPageBuilderSets a page-scoped page border.
Parameters
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- width System.Nullable{System.Double} = null
- inset System.Nullable{System.Double} = null
- opacity System.Nullable{System.Double} = null
- dashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
public PdfPageBuilder PageNumberStart(Int32 start) #PdfPageBuilderSets the first visible page number for this page or section flow.
Parameters
- start System.Int32
public PdfPageBuilder PageNumberStyle(PdfPageNumberStyle style) #PdfPageBuilderSets the visible page-number style for this page or section flow.
Parameters
- style OfficeIMO.Pdf.PdfPageNumberStyle
public PdfPageBuilder Portrait() #PdfPageBuilderSets page orientation to portrait while preserving the current page size dimensions.
public PdfPageBuilder PrintProductionPageBoxes(PdfPrintProductionPageBoxes boxes) #PdfPageBuilderSets or clears page-scoped TrimBox and BleedBox geometry.
Parameters
- boxes OfficeIMO.Pdf.PdfPrintProductionPageBoxes
public PdfPageBuilder RegisterEmbeddedFontFallbacks(PdfEmbeddedFontFallbackSet fallbackSet) #PdfPageBuilderRegisters a planned embedded-font fallback set for generated rich text runs on this composed page or section.
Parameters
- fallbackSet OfficeIMO.Pdf.PdfEmbeddedFontFallbackSet
public PdfPageBuilder Size(PageSize size) #PdfPageBuilderSets page size using a predefined PageSize.
Parameters
- size OfficeIMO.Pdf.PageSize
public PdfPageBuilder Size(Double width, Double height) #PdfPageBuilderSets custom page size in points.
Parameters
- width System.Double
- height System.Double
public PdfPageBuilder SuppressEvenPagesImageWatermark() #PdfPageBuilderSuppresses the inherited image watermark on even pages.
public PdfPageBuilder SuppressEvenPagesTextWatermark() #PdfPageBuilderSuppresses the inherited text watermark on even pages.
public PdfPageBuilder SuppressEvenPagesWatermark() #PdfPageBuilderSuppresses inherited text and image watermarks on even pages.
public PdfPageBuilder SuppressFirstPageImageWatermark() #PdfPageBuilderSuppresses the inherited image watermark on the first page.
public PdfPageBuilder SuppressFirstPageTextWatermark() #PdfPageBuilderSuppresses the inherited text watermark on the first page.
public PdfPageBuilder SuppressFirstPageWatermark() #PdfPageBuilderSuppresses inherited text and image watermarks on the first page.
public PdfPageBuilder TextHyphenation(PdfTextHyphenationCallback callback) #PdfPageBuilderSets or clears the page-scoped generated text hyphenation callback used for long unspaced tokens.
Parameters
- callback OfficeIMO.Pdf.PdfTextHyphenationCallback
public PdfPageBuilder TextHyphenationDictionary(PdfHyphenationLexicon dictionary) #PdfPageBuilderUses or clears an immutable first-party word hyphenation dictionary.
Parameters
- dictionary OfficeIMO.Pdf.PdfHyphenationLexicon
public PdfPageBuilder TextLineBreaks(Func<String, IReadOnlyList<Int32>> callback) #PdfPageBuilderSets or clears the page-scoped generated text line-break callback used for long unspaced tokens.
Parameters
- callback System.Func{System.String,System.Collections.Generic.IReadOnlyList{System.Int32}}
public PdfPageBuilder Theme(PdfTheme theme) #PdfPageBuilderApplies reusable page-scoped default styles.
Parameters
- theme OfficeIMO.Pdf.PdfTheme
public PdfPageBuilder Typography(OfficeRenderingProfile profile, OfficeRenderingProfileApplyMode mode = Replace) #PdfPageBuilderApplies a shared, page-scoped font, fallback, language, and shaping profile.
Parameters
- profile OfficeIMO.Drawing.OfficeRenderingProfile
- mode OfficeIMO.Drawing.OfficeRenderingProfileApplyMode = Replace
public PdfPageBuilder UseEmbeddedFontFallbacksFromSystem(String familyNames, Int32 maxFallbackFonts = 2) #PdfPageBuilderRegisters generated-text fallback fonts from installed system font families without requiring callers to choose PDF font slots.
Parameters
- familyNames System.String
- maxFallbackFonts System.Int32 = 2
public PdfPageBuilder UseFontFamily(PdfEmbeddedFontFamily fontFamily) #PdfPageBuilderUses a caller-supplied TrueType font family for this composed page or section.
Parameters
- fontFamily OfficeIMO.Pdf.PdfEmbeddedFontFamily
public PdfPageBuilder UseFontFamily(String familyName, Byte[] regular, Byte[] bold = null, Byte[] italic = null, Byte[] boldItalic = null) #PdfPageBuilderUses caller-supplied TrueType font files for this composed page or section.
Parameters
- familyName System.String
- regular System.Byte[]
- bold System.Byte[] = null
- italic System.Byte[] = null
- boldItalic System.Byte[] = null
public PdfPageBuilder UseFontFamily(String familyName, String regularPath, String boldPath = null, String italicPath = null, String boldItalicPath = null) #PdfPageBuilderUses caller-supplied TrueType font files for this composed page or section.
Parameters
- familyName System.String
- regularPath System.String
- boldPath System.String = null
- italicPath System.String = null
- boldItalicPath System.String = null
public PdfPageBuilder UseTextFallbacks(PdfTextFallbackFeatures features = Default) #PdfPageBuilderApplies OfficeIMO's built-in generated-text fallback groups for this composed page or section.
Parameters
- features OfficeIMO.Pdf.PdfTextFallbackFeatures = Default
public PdfPageBuilder Watermark(PdfTextWatermark watermark) #PdfPageBuilderSets or clears the page-scoped text watermark rendered behind page content.
Parameters
- watermark OfficeIMO.Pdf.PdfTextWatermark
public PdfPageBuilder Watermark(String text, Nullable<Double> fontSize = null, Nullable<PdfColor> color = null, Nullable<Double> opacity = null, Nullable<Double> rotationAngle = null, Nullable<PdfStandardFont> font = null, Boolean bold = true, Boolean italic = false) #PdfPageBuilderSets a page-scoped text watermark rendered behind page content.
Parameters
- text System.String
- fontSize System.Nullable{System.Double} = null
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- opacity System.Nullable{System.Double} = null
- rotationAngle System.Nullable{System.Double} = null
- font System.Nullable{OfficeIMO.Pdf.PdfStandardFont} = null
- bold System.Boolean = true
- italic System.Boolean = false