[]
        
(Showing Draft Content)

C1.C1Preview.RenderFragment.GetContentAutoSize

GetContentAutoSize Method

GetContentAutoSize(ref double, ref double)

Override this method to calculate sizes of object on basis of its content, this method is called when width and height of object specified as auto.

Declaration
protected virtual void GetContentAutoSize(ref double width, ref double height)
Parameters
Type Name Description
double width

Width of area of contents of object, value must be specified in the "Document.ResolvedUnit" units.

double height

Height of area of contents of object, value must be specified in the "Document.ResolvedUnit" units.