HtmlToPdfElementRenderElementSelector Property |
Use this property to convert only the part of the page matched by this CSS selector.
Namespace: ExpertPdf.PdfCreatorAssembly: epdfcreator (in epdfcreator.dll) Version: 22.0.0
Syntaxpublic string RenderElementSelector { get; set; }Public Property RenderElementSelector As String
Get
Set
Property Value
String
Remarks
Any selector the rendering engine understands -
"#content",
".infobox",
"table.data tbody". The element is lifted out of the page and rendered on its own.
When both are set, this property wins over RenderElementId.
Note: Honored by the Blink and Chromium rendering engines. The WebKit engines match an element
id themselves and cannot take a selector: with those, use RenderElementId, which every engine honors.
See Also