This property has effect in HTML to Image element only when FitWidth property is true. When FitWidth is true and this property is true the HTML content will be stretched if necessary to fit the available width in PDF page. By default this property is false and the content will not be stretched to fit the available width in PDF page.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public bool StretchToFit { get; set; }
Visual Basic
Public Property StretchToFit As Boolean
	Get
	Set
Visual C++
public:
property bool StretchToFit {
	bool get ();
	void set (bool value);
}

Property Value

Type: Boolean

See Also