Override this method to calculate sizes of object on basis of its content, this method is called when field can grow or shrink vertically and horizontally.
シンタックス
'宣言
Protected MustOverride Sub GetContentAutoSize( _
ByRef As System.Double, _
ByRef As System.Double _
)
'使用法
Dim instance As FieldBase
Dim width As System.Double
Dim height As System.Double
instance.GetContentAutoSize(width, height)
protected abstract void GetContentAutoSize(
out System.double ,
out System.double
)
パラメータ
- width
- OUT: width of area of contents of object in twips.
- height
- OUT: height of area of contents of object in twips.
参照