PrintPreviewDialog::AutoSize Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a value indicating whether the PrintPreviewDialog should automatically resize to fit its contents.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[BrowsableAttribute(false)]
property bool AutoSize {
	virtual bool get() override;
	virtual void set(bool value) override;
}

Property Value

Type: System::Boolean

true if PrintPreviewDialog should resize to fit its contents; otherwise, false.

This property is not relevant for this class.

Setting the AutoSize property has no affect on the appearance of the PrintPreviewDialog control.

.NET Framework
Available since 2.0
Return to top
Show: