HtmlToPdfClientsetPdfShowOnlyElementID Method |
Convert only a specific section of the web page to pdf.
The section that will be converted to pdf is specified by the html element ID.
The element can be anything (image, table, table row, div, text, etc).
Namespace:
SelectPdf.Api
Assembly:
SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax public HtmlToPdfClient setPdfShowOnlyElementID(
string elementID
)
Public Function setPdfShowOnlyElementID (
elementID As String
) As HtmlToPdfClient
Parameters
- elementID
- Type: SystemString
HTML element ID.
Return Value
Type:
HtmlToPdfClientReference to the current object.
See Also