ReportViewer.SizeToReportContent Propiedad
Obtiene o establece un valor que indica si el control ReportViewer debe cambiar de tamaño automáticamente para alojar el contenido del informe.
Espacio de nombres: Microsoft.Reporting.WebForms
Ensamblado: Microsoft.ReportViewer.WebForms (en Microsoft.ReportViewer.WebForms.dll)
Sintaxis
'Declaración
<WebBrowsableAttribute(True)> _
Public Property SizeToReportContent As Boolean
Get
Set
'Uso
Dim instance As ReportViewer
Dim value As Boolean
value = instance.SizeToReportContent
instance.SizeToReportContent = value
[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)
Valor de la propiedad
Tipo: System.Boolean
Valor de tipo Boolean. Un valor de true indica que el control debe cambiar de tamaño automáticamente para incluir el contenido del informe. El valor predeterminado es false.