API Documentation > CorelDRAW > 2025-v26 > Dimension > IVGDimension
Dimension.SetDistanceFromObject method
Sets the custom distance of dimension lines from an object
Syntax:
Sub SetDistanceFromObject(ByVal Distance As Double)
Parameters:
Name Type Description
Distance
Double
Remarks:
The SetDistanceFromObject method specifies the customized distance between dimension line and object.