TXTextControl.Drawing.TXDrawingControl.SizeToContent Method

If any changes of the the displayed shapes' visible bounds require an adaption of the TX Drawing Control bounds, the size and/or location of the control is expanded respectively decreased by the considering value of the considering shape's side(s). The method returns an array of doubles which represent the effected alteration for each control's side (left, top, right, bottom) in Twips.

Syntax

[C#]
public int[] SizeToContent();
[Visual Basic]
Public Sub SizeToContent() As Integer()

Return Value

An array of integers which represent the effected extension for each control's side (left, top, right, bottom) in Twips.

See Also