API Reference
PdfElementCompose
Builder for nested elements used within item builders.
Inheritance
- Object
- PdfElementCompose
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 PdfElementCompose.Bookmark
- Method PdfElementCompose.Bullets
- Method PdfElementCompose.CheckBox
- Method PdfElementCompose.ChoiceField
- Method PdfElementCompose.Drawing
- Method PdfElementCompose.Ellipse
- Method PdfElementCompose.FreeTextAnnotation
- Method PdfElementCompose.H1
- Method PdfElementCompose.H1
- Method PdfElementCompose.H2
- Method PdfElementCompose.H2
- Method PdfElementCompose.H3
- Method PdfElementCompose.H3
- Method PdfElementCompose.HighlightAnnotation
- Method PdfElementCompose.HR
- Method PdfElementCompose.Image
- Method PdfElementCompose.Image
- Method PdfElementCompose.Image
- Method PdfElementCompose.Line
- Method PdfElementCompose.MultiSelectChoiceField
- Method PdfElementCompose.Numbered
- Method PdfElementCompose.PageBreak
- Method PdfElementCompose.Panel
- Method PdfElementCompose.PanelParagraph
- Method PdfElementCompose.Paragraph
- Method PdfElementCompose.Path
- Method PdfElementCompose.Polygon
- Method PdfElementCompose.RadioButtonGroup
- Method PdfElementCompose.Rectangle
- Method PdfElementCompose.RichBullets
- Method PdfElementCompose.RichNumbered
- Method PdfElementCompose.RoundedRectangle
- Method PdfElementCompose.Shape
- Method PdfElementCompose.Spacer
- Method PdfElementCompose.Table
- Method PdfElementCompose.Table
- Method PdfElementCompose.TableWithLinks
- Method PdfElementCompose.TextAnnotation
- Method PdfElementCompose.TextField
Accepted by parameters
- Method PdfItemCompose.Element
Methods
public PdfElementCompose Bookmark(String name) #PdfElementComposeAdds a named bookmark at the current nested element flow position.
Parameters
- name System.String
public PdfElementCompose Bullets(IEnumerable<String> items, PdfAlign align = Left, Nullable<PdfColor> color = null, PdfListStyle style = null) #PdfElementComposeAdds a simple bullet list.
Parameters
- items System.Collections.Generic.IEnumerable{System.String}
- align OfficeIMO.Pdf.PdfAlign = Left
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- style OfficeIMO.Pdf.PdfListStyle = null
public PdfElementCompose CheckBox(String name, Boolean isChecked = false, Double size = 14, PdfAlign align = Left, Double spacingBefore = 0, Double spacingAfter = 6, String checkedValueName = "Yes", PdfFormFieldStyle style = null) #PdfElementComposeAdds a simple AcroForm check box at the current nested element flow position.
Parameters
- name System.String
- isChecked System.Boolean = false
- size System.Double = 14
- align OfficeIMO.Pdf.PdfAlign = Left
- spacingBefore System.Double = 0
- spacingAfter System.Double = 6
- checkedValueName System.String = "Yes"
- style OfficeIMO.Pdf.PdfFormFieldStyle = null
public PdfElementCompose ChoiceField(String name, IEnumerable<String> options, String value = null, Double width = 180, Double height = 22, PdfAlign align = Left, Double fontSize = 10, Double spacingBefore = 0, Double spacingAfter = 6, Boolean isComboBox = true, PdfFormFieldStyle style = null) #PdfElementComposeAdds a simple AcroForm choice field at the current nested element flow position.
Parameters
- name System.String
- options System.Collections.Generic.IEnumerable{System.String}
- value System.String = null
- width System.Double = 180
- height System.Double = 22
- align OfficeIMO.Pdf.PdfAlign = Left
- fontSize System.Double = 10
- spacingBefore System.Double = 0
- spacingAfter System.Double = 6
- isComboBox System.Boolean = true
- style OfficeIMO.Pdf.PdfFormFieldStyle = null
public PdfElementCompose Drawing(OfficeDrawing drawing, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, PdfDrawingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds a shared OfficeIMO.Drawing scene.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- style OfficeIMO.Pdf.PdfDrawingStyle = null
- linkUri System.String = null
- linkContents System.String = null
public PdfElementCompose Ellipse(Double width, Double height, Nullable<PdfColor> strokeColor = null, Double strokeWidth = 1, Nullable<PdfColor> fillColor = null, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, OfficeStrokeDashStyle strokeDashStyle = Solid, Nullable<OfficeStrokeLineCap> strokeLineCap = null, Nullable<OfficeStrokeLineJoin> strokeLineJoin = null, PdfDrawingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds an ellipse vector shape.
Parameters
- width System.Double
- height System.Double
- strokeColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 1
- fillColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- strokeDashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
- strokeLineCap System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineCap} = null
- strokeLineJoin System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineJoin} = null
- style OfficeIMO.Pdf.PdfDrawingStyle = null
- linkUri System.String = null
- linkContents System.String = null
public PdfElementCompose FreeTextAnnotation(String contents, Double width, Double height, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, Double fontSize = 10, Nullable<PdfColor> textColor = null, Nullable<PdfColor> borderColor = null, Double borderWidth = 1, Nullable<PdfColor> fillColor = null, PdfAlign textAlign = Left, Double padding = 3, Nullable<Double> lineHeight = null) #PdfElementComposeAdds a PDF free-text annotation at the current nested element flow position.
Parameters
- contents System.String
- width System.Double
- height System.Double
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- fontSize System.Double = 10
- textColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- borderColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- borderWidth System.Double = 1
- fillColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- textAlign OfficeIMO.Pdf.PdfAlign = Left
- padding System.Double = 3
- lineHeight System.Nullable{System.Double} = null
public PdfElementCompose H1(String text, PdfHeadingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds an H1 heading.
Parameters
- text System.String
- Heading text.
- style OfficeIMO.Pdf.PdfHeadingStyle = null
- Optional heading style.
- linkUri System.String = null
- Optional absolute URI or catalog-base-relative URI for a heading link annotation.
- linkContents System.String = null
- Optional link annotation contents metadata.
public PdfElementCompose H1(String text, PdfAlign align, Nullable<PdfColor> color = null, String linkUri = null, PdfHeadingStyle style = null, String linkContents = null) #PdfElementComposeAdds an H1 heading with explicit alignment and color.
Parameters
- text System.String
- Heading text.
- align OfficeIMO.Pdf.PdfAlign
- Heading alignment.
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- Optional heading color.
- linkUri System.String = null
- Optional absolute URI or catalog-base-relative URI for a heading link annotation.
- style OfficeIMO.Pdf.PdfHeadingStyle = null
- Optional heading style.
- linkContents System.String = null
- Optional link annotation contents metadata.
public PdfElementCompose H2(String text, PdfHeadingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds an H2 heading.
Parameters
- text System.String
- Heading text.
- style OfficeIMO.Pdf.PdfHeadingStyle = null
- Optional heading style.
- linkUri System.String = null
- Optional absolute URI or catalog-base-relative URI for a heading link annotation.
- linkContents System.String = null
- Optional link annotation contents metadata.
public PdfElementCompose H2(String text, PdfAlign align, Nullable<PdfColor> color = null, String linkUri = null, PdfHeadingStyle style = null, String linkContents = null) #PdfElementComposeAdds an H2 heading with explicit alignment and color.
Parameters
- text System.String
- Heading text.
- align OfficeIMO.Pdf.PdfAlign
- Heading alignment.
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- Optional heading color.
- linkUri System.String = null
- Optional absolute URI or catalog-base-relative URI for a heading link annotation.
- style OfficeIMO.Pdf.PdfHeadingStyle = null
- Optional heading style.
- linkContents System.String = null
- Optional link annotation contents metadata.
public PdfElementCompose H3(String text, PdfHeadingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds an H3 heading.
Parameters
- text System.String
- Heading text.
- style OfficeIMO.Pdf.PdfHeadingStyle = null
- Optional heading style.
- linkUri System.String = null
- Optional absolute URI or catalog-base-relative URI for a heading link annotation.
- linkContents System.String = null
- Optional link annotation contents metadata.
public PdfElementCompose H3(String text, PdfAlign align, Nullable<PdfColor> color = null, String linkUri = null, PdfHeadingStyle style = null, String linkContents = null) #PdfElementComposeAdds an H3 heading with explicit alignment and color.
Parameters
- text System.String
- Heading text.
- align OfficeIMO.Pdf.PdfAlign
- Heading alignment.
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- Optional heading color.
- linkUri System.String = null
- Optional absolute URI or catalog-base-relative URI for a heading link annotation.
- style OfficeIMO.Pdf.PdfHeadingStyle = null
- Optional heading style.
- linkContents System.String = null
- Optional link annotation contents metadata.
public PdfElementCompose HighlightAnnotation(String contents, Double width, Double height, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, Nullable<PdfColor> color = null) #PdfElementComposeAdds a PDF highlight annotation rectangle at the current nested element flow position.
Parameters
- contents System.String
- width System.Double
- height System.Double
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
public PdfElementCompose HR(Nullable<Double> thickness = null, Nullable<PdfColor> color = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, PdfHorizontalRuleStyle style = null) #PdfElementComposeAdds a horizontal rule at the current nested element flow position.
Parameters
- thickness System.Nullable{System.Double} = null
- Line thickness (pt).
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- Optional color; inherited from the current default rule style when omitted.
- spacingBefore System.Nullable{System.Double} = null
- Top spacing (pt), inherited from the current default rule style when omitted.
- spacingAfter System.Nullable{System.Double} = null
- Bottom spacing (pt), inherited from the current default rule style when omitted.
- style OfficeIMO.Pdf.PdfHorizontalRuleStyle = null
- Optional reusable rule style.
public PdfElementCompose Image(Byte[] jpegBytes, Double width, Double height, Nullable<PdfAlign> align = null, OfficeClipPath clipPath = null, Nullable<OfficeImageFit> fit = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, PdfImageStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds a raster image supported by OfficeIMO.Drawing at the current nested element flow position.
Parameters
- jpegBytes System.Byte[]
- Supported image bytes.
- width System.Double
- Target width in points.
- height System.Double
- Target height in points.
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- Image alignment inside content width.
- clipPath OfficeIMO.Drawing.OfficeClipPath = null
- Optional local clipping path applied before drawing the image.
- fit System.Nullable{OfficeIMO.Drawing.OfficeImageFit} = null
- Image fitting mode inside the target box.
- spacingBefore System.Nullable{System.Double} = null
- Top spacing (pt), inherited from the current default image style when omitted.
- spacingAfter System.Nullable{System.Double} = null
- Bottom spacing (pt), inherited from the current default image style when omitted.
- style OfficeIMO.Pdf.PdfImageStyle = null
- Optional reusable image placement style.
- linkUri System.String = null
- Optional absolute URI or catalog-base-relative URI for an image link annotation.
- linkContents System.String = null
- Optional link annotation contents metadata.
public PdfElementCompose Image(Byte[] jpegBytes, Double width, Double height, String alternativeText) #PdfElementComposeAdds a meaningful image from supported image bytes with alternate text.
Parameters
- jpegBytes System.Byte[]
- width System.Double
- height System.Double
- alternativeText System.String
public PdfElementCompose Image(Byte[] jpegBytes, Double width, Double height, Nullable<PdfAlign> align, OfficeClipPath clipPath, Nullable<OfficeImageFit> fit, Nullable<Double> spacingBefore, Nullable<Double> spacingAfter, PdfImageStyle style, String linkUri, String linkContents, String alternativeText) #PdfElementComposeAdds a raster image supported by OfficeIMO.Drawing.
Parameters
- jpegBytes System.Byte[]
- Supported image bytes.
- width System.Double
- Target width in points.
- height System.Double
- Target height in points.
- align System.Nullable{OfficeIMO.Pdf.PdfAlign}
- Image alignment inside content width.
- clipPath OfficeIMO.Drawing.OfficeClipPath
- Optional local clipping path applied before drawing the image.
- fit System.Nullable{OfficeIMO.Drawing.OfficeImageFit}
- Image fitting mode inside the target box.
- spacingBefore System.Nullable{System.Double}
- Top spacing (pt), inherited from the current default image style when omitted.
- spacingAfter System.Nullable{System.Double}
- Bottom spacing (pt), inherited from the current default image style when omitted.
- style OfficeIMO.Pdf.PdfImageStyle
- Optional reusable image placement style.
- linkUri System.String
- Optional absolute URI or catalog-base-relative URI for an image link annotation.
- linkContents System.String
- Optional link annotation contents metadata.
- alternativeText System.String
- Optional alternate text for meaningful generated images.
public PdfElementCompose Line(Double x1, Double y1, Double x2, Double y2, Nullable<PdfColor> strokeColor = null, Double strokeWidth = 1, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, OfficeStrokeDashStyle strokeDashStyle = Solid, Nullable<OfficeStrokeLineCap> strokeLineCap = null, Nullable<OfficeStrokeLineJoin> strokeLineJoin = null, PdfDrawingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds a line vector shape.
Parameters
- x1 System.Double
- y1 System.Double
- x2 System.Double
- y2 System.Double
- strokeColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 1
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- strokeDashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
- strokeLineCap System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineCap} = null
- strokeLineJoin System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineJoin} = null
- style OfficeIMO.Pdf.PdfDrawingStyle = null
- linkUri System.String = null
- linkContents System.String = null
public PdfElementCompose MultiSelectChoiceField(String name, IEnumerable<String> options, IEnumerable<String> values = null, Double width = 180, Double height = 72, PdfAlign align = Left, Double fontSize = 10, Double spacingBefore = 0, Double spacingAfter = 6, PdfFormFieldStyle style = null) #PdfElementComposeAdds a simple AcroForm multi-select choice field at the current nested element flow position.
Parameters
- name System.String
- options System.Collections.Generic.IEnumerable{System.String}
- values System.Collections.Generic.IEnumerable{System.String} = null
- width System.Double = 180
- height System.Double = 72
- align OfficeIMO.Pdf.PdfAlign = Left
- fontSize System.Double = 10
- spacingBefore System.Double = 0
- spacingAfter System.Double = 6
- style OfficeIMO.Pdf.PdfFormFieldStyle = null
public PdfElementCompose Numbered(IEnumerable<String> items, PdfAlign align = Left, Nullable<PdfColor> color = null, Int32 startNumber = 1, PdfListStyle style = null) #PdfElementComposeAdds a simple numbered list.
Parameters
- items System.Collections.Generic.IEnumerable{System.String}
- align OfficeIMO.Pdf.PdfAlign = Left
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- startNumber System.Int32 = 1
- style OfficeIMO.Pdf.PdfListStyle = null
public PdfElementCompose PageBreak() #PdfElementComposeStarts a new page from the current nested element flow.
public PdfElementCompose Panel(Action<PdfItemCompose> build, PanelStyle style = null, PdfAlign align = Left, Nullable<PdfColor> defaultColor = null) #PdfElementComposeAdds a styled panel from common flow blocks such as paragraphs, headings, lists, simple tables, rules, and nested panel paragraphs.
Parameters
- build System.Action{OfficeIMO.Pdf.PdfItemCompose}
- Panel content builder.
- style OfficeIMO.Pdf.PanelStyle = null
- Panel style (padding, background, border, etc.).
- align OfficeIMO.Pdf.PdfAlign = Left
- Panel text alignment.
- defaultColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- Optional default text color.
public PdfElementCompose PanelParagraph(Action<PdfParagraphBuilder> build, PanelStyle style = null, PdfAlign align = Left, Nullable<PdfColor> defaultColor = null) #PdfElementComposeAdds a paragraph inside a styled panel at the current nested element flow position.
Parameters
- build System.Action{OfficeIMO.Pdf.PdfParagraphBuilder}
- Paragraph content builder.
- style OfficeIMO.Pdf.PanelStyle = null
- Panel style (padding, background, border, etc.).
- align OfficeIMO.Pdf.PdfAlign = Left
- Paragraph alignment.
- defaultColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- Optional default text color.
public PdfElementCompose Paragraph(Action<PdfParagraphBuilder> build, PdfAlign align = Left, Nullable<PdfColor> defaultColor = null, PdfParagraphStyle style = null) #PdfElementComposeAdds a paragraph built from styled text runs.
Parameters
- build System.Action{OfficeIMO.Pdf.PdfParagraphBuilder}
- Paragraph content builder.
- align OfficeIMO.Pdf.PdfAlign = Left
- Paragraph alignment.
- defaultColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- Optional default text color.
- style OfficeIMO.Pdf.PdfParagraphStyle = null
- Optional paragraph layout style.
public PdfElementCompose Path(IEnumerable<OfficePathCommand> commands, Nullable<PdfColor> strokeColor = null, Double strokeWidth = 1, Nullable<PdfColor> fillColor = null, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, OfficeStrokeDashStyle strokeDashStyle = Solid, Nullable<OfficeStrokeLineCap> strokeLineCap = null, Nullable<OfficeStrokeLineJoin> strokeLineJoin = null, PdfDrawingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds a freeform path vector shape.
Parameters
- commands System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficePathCommand}
- strokeColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 1
- fillColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- strokeDashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
- strokeLineCap System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineCap} = null
- strokeLineJoin System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineJoin} = null
- style OfficeIMO.Pdf.PdfDrawingStyle = null
- linkUri System.String = null
- linkContents System.String = null
public PdfElementCompose Polygon(IEnumerable<OfficePoint> points, Nullable<PdfColor> strokeColor = null, Double strokeWidth = 1, Nullable<PdfColor> fillColor = null, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, OfficeStrokeDashStyle strokeDashStyle = Solid, Nullable<OfficeStrokeLineCap> strokeLineCap = null, Nullable<OfficeStrokeLineJoin> strokeLineJoin = null, PdfDrawingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds a polygon vector shape.
Parameters
- points System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficePoint}
- strokeColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 1
- fillColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- strokeDashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
- strokeLineCap System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineCap} = null
- strokeLineJoin System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineJoin} = null
- style OfficeIMO.Pdf.PdfDrawingStyle = null
- linkUri System.String = null
- linkContents System.String = null
public PdfElementCompose RadioButtonGroup(String name, IEnumerable<String> options, String value = null, Double size = 14, Double gap = 6, PdfAlign align = Left, Double spacingBefore = 0, Double spacingAfter = 6, PdfFormFieldStyle style = null) #PdfElementComposeAdds a simple AcroForm radio button group at the current nested element flow position.
Parameters
- name System.String
- options System.Collections.Generic.IEnumerable{System.String}
- value System.String = null
- size System.Double = 14
- gap System.Double = 6
- align OfficeIMO.Pdf.PdfAlign = Left
- spacingBefore System.Double = 0
- spacingAfter System.Double = 6
- style OfficeIMO.Pdf.PdfFormFieldStyle = null
public PdfElementCompose Rectangle(Double width, Double height, Nullable<PdfColor> strokeColor = null, Double strokeWidth = 1, Nullable<PdfColor> fillColor = null, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, OfficeStrokeDashStyle strokeDashStyle = Solid, Nullable<OfficeStrokeLineCap> strokeLineCap = null, Nullable<OfficeStrokeLineJoin> strokeLineJoin = null, PdfDrawingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds a rectangle vector shape.
Parameters
- width System.Double
- height System.Double
- strokeColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 1
- fillColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- strokeDashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
- strokeLineCap System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineCap} = null
- strokeLineJoin System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineJoin} = null
- style OfficeIMO.Pdf.PdfDrawingStyle = null
- linkUri System.String = null
- linkContents System.String = null
public PdfElementCompose RichBullets(IEnumerable<PdfListItem> items, PdfAlign align = Left, Nullable<PdfColor> color = null, PdfListStyle style = null) #PdfElementComposeAdds a bullet list whose items can contain rich inline text runs.
Parameters
- items System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfListItem}
- align OfficeIMO.Pdf.PdfAlign = Left
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- style OfficeIMO.Pdf.PdfListStyle = null
public PdfElementCompose RichNumbered(IEnumerable<PdfListItem> items, PdfAlign align = Left, Nullable<PdfColor> color = null, Int32 startNumber = 1, PdfListStyle style = null) #PdfElementComposeAdds a numbered list whose items can contain rich inline text runs.
Parameters
- items System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfListItem}
- align OfficeIMO.Pdf.PdfAlign = Left
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- startNumber System.Int32 = 1
- style OfficeIMO.Pdf.PdfListStyle = null
public PdfElementCompose RoundedRectangle(Double width, Double height, Double cornerRadius, Nullable<PdfColor> strokeColor = null, Double strokeWidth = 1, Nullable<PdfColor> fillColor = null, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, OfficeStrokeDashStyle strokeDashStyle = Solid, Nullable<OfficeStrokeLineCap> strokeLineCap = null, Nullable<OfficeStrokeLineJoin> strokeLineJoin = null, PdfDrawingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds a rounded rectangle vector shape.
Parameters
- width System.Double
- height System.Double
- cornerRadius System.Double
- strokeColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- strokeWidth System.Double = 1
- fillColor System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- strokeDashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
- strokeLineCap System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineCap} = null
- strokeLineJoin System.Nullable{OfficeIMO.Drawing.OfficeStrokeLineJoin} = null
- style OfficeIMO.Pdf.PdfDrawingStyle = null
- linkUri System.String = null
- linkContents System.String = null
public PdfElementCompose Shape(OfficeShape shape, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, PdfDrawingStyle style = null, String linkUri = null, String linkContents = null) #PdfElementComposeAdds a shared OfficeIMO.Drawing shape.
Parameters
- shape OfficeIMO.Drawing.OfficeShape
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- style OfficeIMO.Pdf.PdfDrawingStyle = null
- linkUri System.String = null
- linkContents System.String = null
public PdfElementCompose Spacer(Double height) #PdfElementComposeAdds invisible vertical space to the current flow.
Parameters
- height System.Double
public PdfElementCompose Table(IEnumerable<String[]> rows, PdfAlign align = Left, PdfTableStyle style = null) #PdfElementComposeAdds a simple text table.
Parameters
- rows System.Collections.Generic.IEnumerable{System.String[]}
- Sequence of row arrays.
- align OfficeIMO.Pdf.PdfAlign = Left
- Table alignment.
- style OfficeIMO.Pdf.PdfTableStyle = null
- Optional table styling.
public PdfElementCompose Table(IEnumerable<PdfTableCell[]> rows, PdfAlign align = Left, PdfTableStyle style = null) #PdfElementComposeAdds a table with explicit cells, including optional column spans.
Parameters
- rows System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfTableCell[]}
- Sequence of rows made from explicit table cells.
- align OfficeIMO.Pdf.PdfAlign = Left
- Table alignment.
- style OfficeIMO.Pdf.PdfTableStyle = null
- Optional table styling.
public PdfElementCompose TableWithLinks(IEnumerable<String[]> rows, Dictionary<ValueTuple<Int32, Int32>, String> links, PdfAlign align = Left, PdfTableStyle style = null) #PdfElementComposeAdds a simple text table and attaches link URIs to specific cells.
Parameters
- rows System.Collections.Generic.IEnumerable{System.String[]}
- Sequence of row arrays.
- links System.Collections.Generic.Dictionary{System.ValueTuple{System.Int32,System.Int32},System.String}
- Per-cell absolute or catalog-base-relative link URIs keyed by zero-based row and column.
- align OfficeIMO.Pdf.PdfAlign = Left
- Table alignment.
- style OfficeIMO.Pdf.PdfTableStyle = null
- Optional table styling.
public PdfElementCompose TextAnnotation(String contents, Double width = 18, Double height = 18, Nullable<PdfAlign> align = null, Nullable<Double> spacingBefore = null, Nullable<Double> spacingAfter = null, PdfTextAnnotationIcon icon = Comment, Nullable<PdfColor> color = null, Boolean open = false) #PdfElementComposeAdds a PDF text annotation at the current nested element flow position.
Parameters
- contents System.String
- width System.Double = 18
- height System.Double = 18
- align System.Nullable{OfficeIMO.Pdf.PdfAlign} = null
- spacingBefore System.Nullable{System.Double} = null
- spacingAfter System.Nullable{System.Double} = null
- icon OfficeIMO.Pdf.PdfTextAnnotationIcon = Comment
- color System.Nullable{OfficeIMO.Pdf.PdfColor} = null
- open System.Boolean = false
public PdfElementCompose TextField(String name, Double width = 180, Double height = 22, String value = "", PdfAlign align = Left, Double fontSize = 10, Double spacingBefore = 0, Double spacingAfter = 6, PdfFormFieldStyle style = null) #PdfElementComposeAdds a simple AcroForm text field at the current nested element flow position.
Parameters
- name System.String
- width System.Double = 180
- height System.Double = 22
- value System.String = ""
- align OfficeIMO.Pdf.PdfAlign = Left
- fontSize System.Double = 10
- spacingBefore System.Double = 0
- spacingAfter System.Double = 6
- style OfficeIMO.Pdf.PdfFormFieldStyle = null