Back to Graphic
SetDistanceFromTextMethod
Definition
- Namespace
- DOM.Elements.Graphics
- Assembly
- DOM.dll
Sets the distance from text for text wrapping.
SetDistanceFromText(double distance, Units units)Parameters
- distance
- Distance value.
- units
- Measurement unit for the distance (default: points).
Remarks
This defines the spacing between the graphic and surrounding text when text wrapping is enabled.
Examples
csharp
1var graphic = new Graphic();
2graphic.SetDistanceFromText(5, Units.pt);
3