Condividi tramite


Proprietà ReportViewer.SizeToReportContent

Ottiene o imposta un valore che indica se il controllo ReportViewer viene ridimensionato automaticamente in base al contenuto del rapporto.

Spazio dei nomi:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)

Sintassi

'Dichiarazione
<WebBrowsableAttribute(True)> _
Public Property SizeToReportContent As Boolean
[WebBrowsableAttribute(true)]
public bool SizeToReportContent { get; set; }
[WebBrowsableAttribute(true)]
public:
property bool SizeToReportContent {
    bool get ();
    void set (bool value);
}
[<WebBrowsableAttribute(true)>]
member SizeToReportContent : bool with get, set
function get SizeToReportContent () : boolean
function set SizeToReportContent (value : boolean)

Valore proprietà

Tipo: Boolean
Valore Boolean.Un valore true indica che il controllo viene ridimensionato automaticamente in base al contenuto del rapporto.Il valore predefinito è false.

Vedere anche

Riferimenti

ReportViewer Classe

Spazio dei nomi Microsoft.Reporting.WebForms