You are here: Start » FIL.NET » FIS.PathBoundingRectangle_OrNil Method
FIS.PathBoundingRectangle_OrNil Method
Computes the smallest rectangle containing a path; returns NIL when the path is empty.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void PathBoundingRectangle_OrNil ( FilNet.Path inPath, FilNet.BoundingRectangleFeature inBoundingRectangleFeature, float inReferenceAngle, FilNet.RectangleOrientation inRectangleOrientation, out FilNet.Rectangle2D? outBoundingRectangle, out FilNet.Point2D? outCenter, out float? outLongSide, out float? outShortSide )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | FilNet.Path | Input path. | ||
![]() | inBoundingRectangleFeature | FilNet.BoundingRectangleFeature | MinimalArea | Determines what kind of bounding rectangle will be computed. Default value: MinimalArea. | |
![]() | inReferenceAngle | float | 0.0f | The middle angle of the valid range of the output rectangle's angle. Default value: 0.0f. | |
![]() | inRectangleOrientation | FilNet.RectangleOrientation | Horizontal | Orientation of the output rectangle. Default value: Horizontal. | |
![]() | outBoundingRectangle | FilNet.Rectangle2D? | Smallest bounding rectangle of the input path. | ||
![]() | outCenter | FilNet.Point2D? | Center of the bounding rectangle. | ||
![]() | outLongSide | float? | Length of the bounding rectangle long side. | ||
![]() | outShortSide | float? | Length of the bounding rectangle short side. |