ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel.Validation Namespace / ValidationUtils Class / ValidateLength Method / ValidateLength(Length,Boolean) Method
A GrapeCity.ActiveReports.PageReportModel.Length value to validate.
A boolean value indicating if there should be validation against the default max value.

ValidateLength(Length,Boolean) Method
Validates a length value against the RDL defined min/max length defaults ("0in","160in").
Syntax
'Declaration
 
Public Overloads Shared Sub ValidateLength( _
   ByVal value As Length, _
   ByVal hasNoMaxValue As Boolean _
) 
 

Parameters

value
A GrapeCity.ActiveReports.PageReportModel.Length value to validate.
hasNoMaxValue
A boolean value indicating if there should be validation against the default max value.
Exceptions
ExceptionDescription
Throws if the value is out of range limit.
See Also