Click or drag to resize

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
)

Parameters

elementID
Type: SystemString
HTML element ID.

Return Value

Type: HtmlToPdfClient
Reference to the current object.
See Also