Click or drag to resize
Pdf Library for .NET

PdfHtmlElementVisibleWebElementSelector Property

Use this property to convert only the part of the page matched by this CSS selector.

Namespace: SelectPdf
Assembly: Select.Pdf (in Select.Pdf.dll) Version: 26.4
Syntax
public string VisibleWebElementSelector { get; set; }

Property Value

String
Remarks
Any selector the rendering engine understands - "#content", ".infobox", "table.wikitable tbody". The element is lifted out of the page and rendered on its own. A selector that matches nothing fails the conversion instead of quietly converting the whole page.

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 VisibleWebElementId, which every engine honors.

See Also