2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / Legend Class / ShouldSerializeSizeDefault Method

In This Topic
    ShouldSerializeSizeDefault Method (Legend)
    In This Topic
    Returns false if the Legend SizeDefault property is in the default state.
    Syntax
    'Declaration
     
    Public Function ShouldSerializeSizeDefault() As System.Boolean
    public System.bool ShouldSerializeSizeDefault()

    Return Value

    True if the SizeDefault has no default value; otherwise, it is false.
    Remarks
    The default state is SizeDefault.Width = -1, SizeDefault.Height = -1, which results in automatic sizing of the Legend.
    See Also